Skip to content

Commit

Permalink
add trailing slash
Browse files Browse the repository at this point in the history
  • Loading branch information
AlaraBread committed Feb 18, 2024
1 parent 35cab4b commit da45eaa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/(pages)/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export default function RootLayout({
}>) {
let basePath = "/";
if(process.env.NEXT_PUBLIC_BASE_PATH != null) {
basePath = process.env.NEXT_PUBLIC_BASE_PATH.endsWith("/")?process.env.NEXT_PUBLIC_BASE_PATH:"/";
basePath = process.env.NEXT_PUBLIC_BASE_PATH.endsWith("/")?process.env.NEXT_PUBLIC_BASE_PATH:process.env.NEXT_PUBLIC_BASE_PATH+"/";
}
return (
<html lang="en">
Expand Down

0 comments on commit da45eaa

Please sign in to comment.