don't add wildcard asterisk for base domain resource closes #356

This commit is contained in:
miloschwartz 2025-03-20 22:52:29 -04:00
parent cdc415079c
commit 06e90c9555
No known key found for this signature in database
3 changed files with 7 additions and 1 deletions

View file

@ -2,7 +2,7 @@ import path from "path";
import { fileURLToPath } from "url";
// This is a placeholder value replaced by the build process
export const APP_VERSION = "1.0.2";
export const APP_VERSION = "1.1.0";
export const __FILENAME = fileURLToPath(import.meta.url);
export const __DIRNAME = path.dirname(__FILENAME);

View file

@ -170,6 +170,10 @@ export async function traefikConfigProvider(
wildCard = `*.${domainParts.slice(1).join(".")}`;
}
if (resource.isBaseDomain) {
wildCard = resource.fullDomain;
}
const configDomain = config.getDomain(resource.domainId);
if (!configDomain) {

View file

@ -18,6 +18,8 @@ export const metadata: Metadata = {
description: ""
};
export const dynamic = 'force-dynamic';
// const font = Figtree({ subsets: ["latin"] });
const font = Inter({ subsets: ["latin"] });