Update flags
This commit is contained in:
@@ -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 {
|
||||
|
||||
Reference in New Issue
Block a user