Path rewriting working?

This commit is contained in:
Owen
2025-10-13 16:41:14 -07:00
parent 8b2f8ad3ef
commit 902b413881
4 changed files with 326 additions and 250 deletions

View File

@@ -164,9 +164,6 @@ export async function getTraefikConfig(
port: row.port,
internalPort: row.internalPort,
enabled: row.targetEnabled,
rewritePath: row.rewritePath,
rewritePathType: row.rewritePathType,
priority: row.priority,
site: {
siteId: row.siteId,
type: row.siteType,
@@ -268,8 +265,8 @@ export async function getTraefikConfig(
// Handle path rewriting middleware
if (
resource.rewritePath &&
resource.path &&
resource.rewritePath !== null &&
resource.path !== null &&
resource.pathMatchType &&
resource.rewritePathType
) {

View File

@@ -203,9 +203,6 @@ export async function getTraefikConfig(
port: row.port,
internalPort: row.internalPort,
enabled: row.targetEnabled,
rewritePath: row.rewritePath,
rewritePathType: row.rewritePathType,
priority: row.priority,
site: {
siteId: row.siteId,
type: row.siteType,
@@ -330,8 +327,8 @@ export async function getTraefikConfig(
// Handle path rewriting middleware
if (
resource.rewritePath &&
resource.path &&
resource.rewritePath !== null &&
resource.path !== null &&
resource.pathMatchType &&
resource.rewritePathType
) {