Skip to content

Commit

Permalink
Actually static...
Browse files Browse the repository at this point in the history
  • Loading branch information
AndrewDragonCh committed Feb 18, 2024
1 parent 9a2081e commit 5978f7c
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 17 deletions.
16 changes: 2 additions & 14 deletions next.config.js
Original file line number Diff line number Diff line change
@@ -1,22 +1,10 @@
/** @type {import('next').NextConfig} */

const nextConfig = {
output: 'export',
poweredByHeader: false,
reactStrictMode: true,
swcMinify: true,
async headers(){
return [
{
source: '/',
headers: [
{
key: 'Content-Type',
value: 'text/html; charset=utf-8'
}
]
}
]
}
swcMinify: true
}

module.exports = nextConfig
1 change: 0 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@
"scripts": {
"dev": "next dev",
"build": "next build",
"start": "next start",
"lint": "next lint",
"postbuild": "next-sitemap",
"turbo": "next dev --turbo"
Expand Down
2 changes: 0 additions & 2 deletions src/app/layout.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,6 @@ import { AppRouterCacheProvider } from '@mui/material-nextjs/v14-appRouter'
import getInitColorSchemeScript from "@mui/system/cssVars/getInitColorSchemeScript";
import { Experimental_CssVarsProvider } from "@mui/material";

export const dynamic = 'force-static'

import './globals.css'

import Theme from "../providers/ColorMode";
Expand Down

0 comments on commit 5978f7c

Please sign in to comment.