No Man's Sky Portal Address Tool - Information
What is this tool?
-This tool helps No Man's Sky players generate, translate, and share portal addresses. It consists of three main features:
+This tool helps No Man's Sky players generate, translate, and share portal + addresses. It consists of three main features:
- Generator: Create random portal addresses or input your own.
- Translator: Convert between hexadecimal addresses and glyph symbols. diff --git a/next-sitemap.config.js b/next-sitemap.config.js new file mode 100644 index 0000000..21a7ccc --- /dev/null +++ b/next-sitemap.config.js @@ -0,0 +1,4 @@ +module.exports = { + siteUrl: process.env.SITE_URL, + generateRobotsTxt: true, +} \ No newline at end of file diff --git a/next.config.js b/next.config.js index f20d115..ab71719 100644 --- a/next.config.js +++ b/next.config.js @@ -2,12 +2,14 @@ const nextConfig = { reactStrictMode: true, images: { - domains: ['nmsportal-9ac18.firebaseapp.com'], + loader: 'akamai', + path: '', unoptimized: true, }, output: 'export', basePath: process.env.GITHUB_ACTIONS ? '/nmsportal' : '', assetPrefix: process.env.GITHUB_ACTIONS ? '/nmsportal/' : '', + trailingSlash: true, webpack: (config, { isServer }) => { if (!isServer) { config.resolve.fallback = { @@ -28,4 +30,4 @@ const nextConfig = { }, } -module.exports = nextConfig; +module.exports = nextConfig; \ No newline at end of file diff --git a/package.json b/package.json index 483208f..6e42f67 100644 --- a/package.json +++ b/package.json @@ -6,7 +6,9 @@ "dev": "next dev", "build": "next build", "start": "next start", - "lint": "next lint" + "lint": "next lint", + "export": "next export", + "postbuild": "next-sitemap" }, "dependencies": { "@radix-ui/react-dialog": "^1.1.1",