mirror of
https://github.com/soconnor0919/lewisburg-coffee.git
synced 2026-02-04 23:56:32 -05:00
feat: Configure Next.js basePath using the NEXT_PUBLIC_BASE_PATH environment variable in the build workflow and application configuration.
This commit is contained in:
@@ -7,7 +7,7 @@ import "./src/env.js";
|
||||
/** @type {import("next").NextConfig} */
|
||||
const config = {
|
||||
output: "export",
|
||||
basePath: process.env.GITHUB_ACTIONS ? "/lewisburg-coffee" : undefined,
|
||||
basePath: process.env.NEXT_PUBLIC_BASE_PATH || undefined,
|
||||
images: {
|
||||
unoptimized: true,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user