mirror of
https://github.com/tavo-wasd-gh/conex-builder.git
synced 2025-06-06 11:43:29 -06:00
api only
This commit is contained in:
parent
8b24e84fdb
commit
ed80223e2f
1 changed files with 1 additions and 1 deletions
|
@ -131,7 +131,7 @@ func main() {
|
|||
http.HandleFunc("/api/directory/", VerifyDirectoryHandler(db))
|
||||
http.HandleFunc("/api/fetch/", FetchSiteHandler(db))
|
||||
http.HandleFunc("/api/upload", UploadFileHandler(s3Client, endpoint, apiEndpoint, apiToken, bucketName, publicEndpoint))
|
||||
http.Handle("/", http.FileServer(http.Dir("./public")))
|
||||
// http.Handle("/", http.FileServer(http.Dir("./public")))
|
||||
|
||||
stop := make(chan os.Signal, 1)
|
||||
signal.Notify(stop, syscall.SIGINT, syscall.SIGTERM)
|
||||
|
|
Loading…
Reference in a new issue