Skip to content

Commit

Permalink
subdomain test
Browse files Browse the repository at this point in the history
  • Loading branch information
szweibel committed Oct 3, 2023
1 parent a443bcc commit 1e4f27c
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,9 @@ process.env.NEXT_PUBLIC_REPO_NAME = repoName
process.env.NEXT_PUBLIC_GITHUB_ACTIONS = process.env.GITHUB_ACTIONS || false;
process.env.NEXT_PUBLIC_GITHUBSECRET = process.env.GITHUBSECRET || false;




// const imagesConfig = function(build, isGitHub) {
// if (isGitHub) {
// return {
Expand All @@ -37,8 +40,8 @@ process.env.NEXT_PUBLIC_GITHUBSECRET = process.env.GITHUBSECRET || false;
const nextConfig = {
output: "export",
trailingSlash: true,
basePath: isGitHub ? '/' + repoName : '',
assetPrefix: isGitHub ? '/' + repoName : '',
// basePath: isGitHub ? '/' + repoName : '',
// assetPrefix: isGitHub ? '/' + repoName : '',
images: {
unoptimized: true,
}
Expand Down

0 comments on commit 1e4f27c

Please sign in to comment.