fix: add SVR.JS documentation to the sitemap
Some checks failed
Deploy Next.js application / deploy (push) Failing after 21m37s

This commit is contained in:
Dorian Niemiec 2024-09-13 06:39:59 +02:00
parent dbf045a8d0
commit 4e39de386a

View file

@ -15,7 +15,38 @@ export default async function sitemap() {
"/privacy",
"/tos",
"/vulnerabilities",
"/newsletter"
"/newsletter",
"/docs/mods/mod-files",
"/docs/mods/introduction",
"/docs/mods/mod-loading-order",
"/docs/mods/mod-development",
"/docs/mods/mod-development-legacy",
"/docs/mod-notes",
"/docs/requirements",
"/docs/server-side-javascript/svrjs-ssjs",
"/docs/server-side-javascript/migration",
"/docs/api/svrjs-api-legacy",
"/docs/api/svrjs-api",
"/docs/config/cgi-scgi-jsgi-php",
"/docs/config/cli-options",
"/docs/config/reverse-proxy-config",
"/docs/config/configuration",
"/docs/config/redirects",
"/docs/config/forward-proxy-notes",
"/docs/config/fastcgi-php-fpm",
"/docs/config/user-management",
"/docs/config/environment",
"/docs/config/virtual-hosts",
"/docs/config/http-auth",
"/docs/config/page-customization",
"/docs/config/client-secure",
"/docs/config/custom-error",
"/docs/getting-started/svrjs-commands",
"/docs/getting-started/updating-svrjs",
"/docs/getting-started/svrjs-utilities",
"/docs/getting-started/features",
"/docs/getting-started/svrjs-files",
"/docs/getting-started/installation"
].map((route) => ({
url: `${process.env.NEXT_PUBLIC_WEBSITE_URL}${route}`,
lastModified: new Date().toISOString().split("T")[0]