Skip to content

Commit b109e0e

Browse files
authored
Merge pull request #4380 from Dokploy/4379-deployments-does-not-load-in-v0293
fix(wss): add colon to directory validation regex to fix deployment logs loading
2 parents 2f08b33 + 282d358 commit b109e0e

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

apps/dokploy/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dokploy",
3-
"version": "v0.29.3",
3+
"version": "v0.29.4",
44
"private": true,
55
"license": "Apache-2.0",
66
"type": "module",

packages/server/src/wss/utils.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export const readValidDirectory = (
4040
directory: string,
4141
serverId?: string | null,
4242
) => {
43-
if (!/^[\w/. -]{1,500}$/.test(directory)) {
43+
if (!/^[\w/. :-]{1,500}$/.test(directory)) {
4444
return false;
4545
}
4646

0 commit comments

Comments
 (0)