Skip to content

Commit 08574b1

Browse files
[registry]fix: replace hyphen to underscore in server name (#215)
1 parent 5c76c74 commit 08574b1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pages/registry/index.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1709,7 +1709,7 @@ <h3 style="margin: 0;">Raw Manifest:</h3>
17091709

17101710
// Build search params with server install info
17111711
const params = new URLSearchParams();
1712-
params.append('name', server.name);
1712+
params.append('name', server.name.replace(/-/g, '_'));
17131713
params.append('action', 'install');
17141714

17151715
const installInfo = Object.values(server.installations)[0];

0 commit comments

Comments
 (0)