Serve compiled front from the same application
also add embedded build for production
This commit is contained in:
@@ -59,7 +59,7 @@ func testPostUserHandler(t *testing.T, userJson string, expectedCode int) {
|
||||
router := testutils.TestSetup()
|
||||
w := httptest.NewRecorder()
|
||||
|
||||
req, _ := http.NewRequest("POST", "/auth/signup",
|
||||
req, _ := http.NewRequest("POST", "/ws/auth/signup",
|
||||
strings.NewReader(string(userJson)))
|
||||
router.ServeHTTP(w, req)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user