Skip to content

Commit 2f5cb00

Browse files
committed
game: update url templating to accomodate new value returned by api
1 parent ad35a5d commit 2f5cb00

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pages/game/[slug].vue

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ data.value.screenshots.forEach((url) => {
1717
config.BASE_API_URL +
1818
"/static/" +
1919
game.basepath +
20-
"/" +
20+
"/entries/" +
2121
game.slug +
2222
"/" +
2323
url,
2424
thumbnailImageSrc:
2525
config.BASE_API_URL +
2626
"/static/" +
2727
game.basepath +
28-
"/" +
28+
"/entries/" +
2929
game.slug +
3030
"/" +
3131
url,
@@ -90,7 +90,7 @@ game.files.forEach((file) => {
9090
config.BASE_API_URL +
9191
"/static/" +
9292
game.basepath +
93-
"/" +
93+
"/entries/" +
9494
game.slug +
9595
"/" +
9696
file.filename;

0 commit comments

Comments
 (0)