Serve compiled front from the same application
also add embedded build for production
This commit is contained in:
@@ -29,7 +29,7 @@ func TestGetReadingBooksHandler_Demo2(t *testing.T) {
|
||||
}
|
||||
|
||||
func testGetReadingBooksHandler(t *testing.T, router *gin.Engine, userToken string, expectedCode int, limit string, offset string) dto.BookUserGet {
|
||||
u, err := url.Parse("/mybooks/reading")
|
||||
u, err := url.Parse("/ws/mybooks/reading")
|
||||
if err != nil {
|
||||
t.Error(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user