mirror of
https://github.com/andwati/dokploy.git
synced 2026-11-08 13:05:17 +00:00
Merge pull request #717 from Dokploy/712-redirect-feature-not-working
fix(dokploy): remove $ on presets redirect
This commit is contained in:
@@ -61,7 +61,7 @@ const redirectPresets = [
|
|||||||
redirect: {
|
redirect: {
|
||||||
regex: "^https?://(?:www.)?(.+)",
|
regex: "^https?://(?:www.)?(.+)",
|
||||||
permanent: true,
|
permanent: true,
|
||||||
replacement: "https://www.$${1}",
|
replacement: "https://www.${1}",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
@@ -70,7 +70,7 @@ const redirectPresets = [
|
|||||||
redirect: {
|
redirect: {
|
||||||
regex: "^https?://www.(.+)",
|
regex: "^https?://www.(.+)",
|
||||||
permanent: true,
|
permanent: true,
|
||||||
replacement: "https://$${1}",
|
replacement: "https://${1}",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user