Skip to content

Commit

Permalink
Set standalone and basePath
Browse files Browse the repository at this point in the history
  • Loading branch information
pierrebeauguitte committed Oct 14, 2024
1 parent ccd5216 commit 6352058
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
NEXT_PUBLIC_BASE_PATH=/ammo
5 changes: 4 additions & 1 deletion next.config.mjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,7 @@
/** @type {import('next').NextConfig} */
const nextConfig = {};
const nextConfig = {
output: "standalone",
basePath: process.env.NEXT_PUBLIC_BASE_PATH
};

export default nextConfig;

0 comments on commit 6352058

Please sign in to comment.