Use the webpack dev server proxy for requests

This commit is contained in:
Gabe Kangas
2022-05-08 23:28:54 -07:00
parent 2a8b474fa1
commit 3b3f785984
4 changed files with 11 additions and 5 deletions

View File

@@ -11,8 +11,6 @@ import (
// GetStatus gets the status of the server.
func GetStatus(w http.ResponseWriter, r *http.Request) {
middleware.EnableCors(w)
status := core.GetStatus()
response := webStatusResponse{
Online: status.Online,