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
I have confirmed a tentative response and will share it with you.
If you remove the async from the method on the second line, the basePath is applied to both links.
export default async function Page(req: Request, ctx: RouteContext) {
export default function Page(ctx: RouteContext) {
The relevant source code appears to be at
The A tag in question also executes this line of processing, but current is null and the value of basePath is not obtained.
The basePath may not be applied to the href attribute of the A tag.
https://fresh.deno.dev/docs/concepts/server-configuration#-basepath-2
The above document says that basePath is automatically reflected in the href attribute of the A tag, but the first A tag in the attached figure does not reflect basePath.
The text was updated successfully, but these errors were encountered: