Skip to content

Commit

Permalink
Merge pull request Dokploy#717 from Dokploy/712-redirect-feature-not-…
Browse files Browse the repository at this point in the history
…working

fix(dokploy): remove $ on presets redirect
  • Loading branch information
Siumauricio authored Nov 17, 2024
2 parents f7fa8e7 + 4bf5e5c commit 3c490ba
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ const redirectPresets = [
redirect: {
regex: "^https?://(?:www.)?(.+)",
permanent: true,
replacement: "https://www.$${1}",
replacement: "https://www.${1}",
},
},
{
Expand All @@ -70,7 +70,7 @@ const redirectPresets = [
redirect: {
regex: "^https?://www.(.+)",
permanent: true,
replacement: "https://$${1}",
replacement: "https://${1}",
},
},
];
Expand Down

0 comments on commit 3c490ba

Please sign in to comment.