Serve compiled front from the same application
also add embedded build for production
This commit is contained in:
@@ -47,7 +47,7 @@ func TestSearchBookPerAuthor_Offset(t *testing.T) {
|
||||
func testFetchBookAuthor(t *testing.T, authorId uint, limit string, offset string) bookAuthorGetResult {
|
||||
router := testutils.TestSetup()
|
||||
|
||||
u, err := url.Parse(fmt.Sprintf("/author/%d/books", authorId))
|
||||
u, err := url.Parse(fmt.Sprintf("/ws/author/%d/books", authorId))
|
||||
if err != nil {
|
||||
t.Error(err)
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user