p
when h3 support ? with nitro https://nitro.unjs.io/
r
hey @productdevbook there is an open PR about this somewhere on our node sdk. Feel free to contribute to it 🙂
p

https://cdn.discordapp.com/attachments/1107679911608590426/1108087233728237568/image.pngâ–¾

iam now write code

https://cdn.discordapp.com/attachments/1107679911608590426/1108087449260916767/image.pngâ–¾

r
Thank you!
p
why am i doing wrong, dashboard won't open
r
Can you enable backend debug log and show the output of it when querying the dashboard?
p
how to enable backend debug ?
r
Add DEBUG=com.supertokens to the env vars
p
Copy code
ts

2023-05-16T17:46:09.362Z com.supertokens {t: "2023-05-16T17:46:09.362Z", message: "middleware: Started", file: "file:///home/productdevbook/Documents/github/opensource/supertokens-node/dist/__chunk/chunk-J4HFB2UG.mjs:17:21" sdkVer: "14.0.2"}

2023-05-16T17:46:09.363Z com.supertokens {t: "2023-05-16T17:46:09.363Z", message: "middleware: requestRID is: undefined", file: "file:///home/productdevbook/Documents/github/opensource/supertokens-node/dist/__chunk/chunk-J4HFB2UG.mjs:17:21" sdkVer: "14.0.2"}
2023-05-16T17:46:09.363Z com.supertokens {t: "2023-05-16T17:46:09.363Z", message: "middleware: Checking recipe ID for match: dashboard", file: "file:///home/productdevbook/Documents/github/opensource/supertokens-node/dist/__chunk/chunk-J4HFB2UG.mjs:17:21" sdkVer: "14.0.2"}
2023-05-16T17:46:09.363Z com.supertokens {t: "2023-05-16T17:46:09.363Z", message: "middleware: Request being handled by recipe. ID is: /dashboard", file: "file:///home/productdevbook/Documents/github/opensource/supertokens-node/dist/__chunk/chunk-J4HFB2UG.mjs:17:21" sdkVer: "14.0.2"}
2023-05-16T17:46:09.551Z com.supertokens {t: "2023-05-16T17:46:09.550Z", message: "middleware: Ended", file: "file:///home/productdevbook/Documents/github/opensource/supertokens-node/dist/__chunk/chunk-J4HFB2UG.mjs:17:21" sdkVer: "14.0.2"}
r
So our middleware is detecting the path
But then somehow the framework is still sending a 404
So this is now something that needs to be figured out and is framework specific
So can’t really help with this since I’m not familiar with this web framework
p
Can you explain a little more where I should focus?
r
Maybe see how the framework expects routes to be declared.
p
lib/ts/framework/express
dont see router add ? how to add
r
This is framework specific
p
how ?
so where do you decide the url

https://cdn.discordapp.com/attachments/1107679911608590426/1108235029030633473/image.pngâ–¾

https://cdn.discordapp.com/attachments/1107679911608590426/1108235062467625072/image.pngâ–¾

h3 return working value
but how should we write it in supertoken
r
I’m not sure at the moment. Will have to dive deeper on this, but honestly, we don’t have bandwidth for it now.