Update flags

This commit is contained in:
bel
2019-12-07 14:09:24 -07:00
parent de93fa2145
commit 8728b7d694
2 changed files with 10 additions and 10 deletions

View File

@@ -37,7 +37,7 @@ func (s *Server) Routes() error {
}
func (s *Server) index(w http.ResponseWriter, r *http.Request) {
f, err := os.Open(path.Join(config.Public, "index.php"))
f, err := os.Open(path.Join(config.MyTinyTodo, "index.php"))
if err != nil {
http.Error(w, err.Error(), http.StatusNotFound)
return
@@ -47,7 +47,7 @@ func (s *Server) index(w http.ResponseWriter, r *http.Request) {
}
func (s *Server) phpProxy(w http.ResponseWriter, r *http.Request) {
url, err := url.Parse(config.Public)
url, err := url.Parse(config.MyTinyTodo)
if err != nil {
log.Println(err)
} else {