mirror of
https://github.com/LukeHagar/vercel.git
synced 2025-12-06 12:57:46 +00:00
Adds manifest.json to examples folder (#3536)
* Revert "Revert "[examples] Add manifest.json"" This reverts commitc65336e63b. * Revert "Revert "Do not use now-examples anymore"" This reverts commitac72e944a7. * Update nowignore * Fix join * Fix JSON * Fix header * Replace manifest.json with @now/frameworks * Adjust readmes * Adjust .nowignore * Update scully * Fix description * Update examples/create-react-app/src/App.js Co-Authored-By: Shu Ding <ds303077135@gmail.com> * Update readme * Add websites * Use https * Adjust example URL * Change order Co-authored-by: Shu Ding <ds303077135@gmail.com>
This commit is contained in:
12
examples/create-react-app/api/date.go
Normal file
12
examples/create-react-app/api/date.go
Normal file
@@ -0,0 +1,12 @@
|
||||
package handler
|
||||
|
||||
import (
|
||||
"fmt"
|
||||
"net/http"
|
||||
"time"
|
||||
)
|
||||
|
||||
func Handler(w http.ResponseWriter, r *http.Request) {
|
||||
currentTime := time.Now().Format(time.RFC850)
|
||||
fmt.Fprintf(w, currentTime)
|
||||
}
|
||||
Reference in New Issue
Block a user