Skip to content

Commit

Permalink
Legger til basePath
Browse files Browse the repository at this point in the history
  • Loading branch information
bjornarne committed Mar 4, 2024
1 parent 2504a79 commit a384e61
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 3 additions & 1 deletion next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
/** @type {import('next').NextConfig} */
const nextConfig = {};
const nextConfig = {
basePath: "/personbruker",
};

export default nextConfig;
4 changes: 2 additions & 2 deletions src/app/page.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export default function Home() {
>
By{" "}
<Image
src="/vercel.svg"
src="/personbruker/vercel.svg"
alt="Vercel Logo"
className={styles.vercelLogo}
width={100}
Expand All @@ -31,7 +31,7 @@ export default function Home() {
<div className={styles.center}>
<Image
className={styles.logo}
src="/next.svg"
src="/personbruker/next.svg"
alt="Next.js Logo"
width={180}
height={37}
Expand Down

0 comments on commit a384e61

Please sign in to comment.