You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
0|Aquamon | [tossr] url: /aquarium/kararty
0|Aquamon | Error: TypeError: Invalid URL: ramsreef.com/aquarium/kararty
0|Aquamon | at errorHandler (/var/www/html/fishimon-server/node_modules/tossr/tossr.js:22:15)
0|Aquamon | at /var/www/html/fishimon-server/node_modules/tossr/tossr.js:107:25
0|Aquamon | at new Promise (<anonymous>)
0|Aquamon | at tossr (/var/www/html/fishimon-server/node_modules/tossr/tossr.js:79:12)
0|Aquamon | [tossr] Error on url: /aquarium/kararty
0|Aquamon | [tossr] Unhandled promise rejection:
0|Aquamon | [tossr] Error: TypeError: Invalid URL: ramsreef.com/aquarium/kararty
0|Aquamon | at errorHandler (/var/www/html/fishimon-server/node_modules/tossr/tossr.js:22:15)
0|Aquamon | at /var/www/html/fishimon-server/node_modules/tossr/tossr.js:107:25
0|Aquamon | at new Promise (<anonymous>)
0|Aquamon | at tossr (/var/www/html/fishimon-server/node_modules/tossr/tossr.js:79:12)
Page it should request: src/pages/aquarium/[username].svelte
My server is setup like this
importRouterfrom'@koa/router'import{tossr}from'tossr'constTEMPLATE='public/index.html'constSCRIPT='public/build/main.js'// dist/build/main.js if you're using dynamic importsconstOPTIONS={inlineDynamicImports: true,host: process.env.HOSTNAME,}constroute=newRouter()route.get('(.*)',async(ctx)=>{consthtml=awaittossr(TEMPLATE,SCRIPT,ctx.request.url,OPTIONS)ctx.body=html})exportdefaultroute
The text was updated successfully, but these errors were encountered:
KararTY
changed the title
tossr with Routify's param-is-page doesn't work.
tossr with Routify's param-is-page gives error and doesn't load page
Jan 17, 2022
KararTY
changed the title
tossr with Routify's param-is-page gives error and doesn't load page
tossr with host option set doesn't work
Jan 17, 2022
KararTY
changed the title
tossr with host option set doesn't work
tossr & routify with host option set doesn't work
Jan 17, 2022
I'm getting this beautiful error
Page it should request:
src/pages/aquarium/[username].svelte
My server is setup like this
The text was updated successfully, but these errors were encountered: