Serve compiled front from the same application
also add embedded build for production
This commit is contained in:
@@ -28,5 +28,5 @@ func TestGetWantReadBooksHandler_Demo2(t *testing.T) {
|
||||
}
|
||||
|
||||
func testGetWantReadBooksHandler(t *testing.T, router *gin.Engine, userToken string, expectedCode int) dto.BookUserGet {
|
||||
return testGetbooksHandler(t, router, userToken, expectedCode, "/mybooks/wantread")
|
||||
return testGetbooksHandler(t, router, userToken, expectedCode, "/ws/mybooks/wantread")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user