mirror of
https://github.com/ajnart/homarr.git
synced 2026-01-05 07:09:52 +01:00
🚧 Add basic BASE_URL and PORT env utilisation #76
This commit is contained in:
@@ -1,3 +1,5 @@
|
||||
const { env } = require('process');
|
||||
|
||||
const withBundleAnalyzer = require('@next/bundle-analyzer')({
|
||||
enabled: process.env.ANALYZE === 'true',
|
||||
});
|
||||
@@ -10,4 +12,5 @@ module.exports = withBundleAnalyzer({
|
||||
experimental: {
|
||||
outputStandalone: true,
|
||||
},
|
||||
basePath: env.BASE_URL,
|
||||
});
|
||||
|
||||
@@ -11,7 +11,7 @@
|
||||
"dev": "next dev",
|
||||
"build": "next build",
|
||||
"analyze": "ANALYZE=true next build",
|
||||
"start": "next start --port 7575",
|
||||
"start": "next start",
|
||||
"typecheck": "tsc --noEmit",
|
||||
"export": "next build && next export",
|
||||
"lint": "next lint",
|
||||
|
||||
Reference in New Issue
Block a user