mirror of
https://github.com/fosrl/pangolin.git
synced 2026-03-09 12:16:36 +00:00
don't add wildcard asterisk for base domain resource closes #356
This commit is contained in:
@@ -2,7 +2,7 @@ import path from "path";
|
|||||||
import { fileURLToPath } from "url";
|
import { fileURLToPath } from "url";
|
||||||
|
|
||||||
// This is a placeholder value replaced by the build process
|
// 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 __FILENAME = fileURLToPath(import.meta.url);
|
||||||
export const __DIRNAME = path.dirname(__FILENAME);
|
export const __DIRNAME = path.dirname(__FILENAME);
|
||||||
|
|||||||
@@ -170,6 +170,10 @@ export async function traefikConfigProvider(
|
|||||||
wildCard = `*.${domainParts.slice(1).join(".")}`;
|
wildCard = `*.${domainParts.slice(1).join(".")}`;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (resource.isBaseDomain) {
|
||||||
|
wildCard = resource.fullDomain;
|
||||||
|
}
|
||||||
|
|
||||||
const configDomain = config.getDomain(resource.domainId);
|
const configDomain = config.getDomain(resource.domainId);
|
||||||
|
|
||||||
if (!configDomain) {
|
if (!configDomain) {
|
||||||
|
|||||||
@@ -18,6 +18,8 @@ export const metadata: Metadata = {
|
|||||||
description: ""
|
description: ""
|
||||||
};
|
};
|
||||||
|
|
||||||
|
export const dynamic = 'force-dynamic';
|
||||||
|
|
||||||
// const font = Figtree({ subsets: ["latin"] });
|
// const font = Figtree({ subsets: ["latin"] });
|
||||||
const font = Inter({ subsets: ["latin"] });
|
const font = Inter({ subsets: ["latin"] });
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user