Skip to content

Commit 694bdba

Browse files
committed
Fixing Copilot feedback
1 parent 9c03448 commit 694bdba

File tree

4 files changed

+4
-3
lines changed

4 files changed

+4
-3
lines changed

public/assets/views/partials/head-scripts/selfhosted-maps.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
// Note: replacing "map-storage" by "play" is a convention for self-hosted setups, but could absolutely
2727
// not work in some cases (e.g. if play and map-storage are on different domains or if the URL structure is different).
2828
let playBase = (playBaseUrl && playBaseUrl.trim())
29-
? playBaseUrl.replace(/\/$/, '')
29+
? playBaseUrl.replace(/\/$/, '')+"/"
3030
: undefined;
3131
if (playBase === undefined) {
3232
const mapStorageUrlObj = new URL(mapStorageUrl || '', window.location.origin);

public/assets/views/step3-steps-selfhosted.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ <h2>Choose a name / directory for your maps</h2>
8484
</div>
8585
</div>
8686

87-
<p>The directory be visible in the URL of your maps.</p>
87+
<p>The directory will be visible in the URL of your maps.</p>
8888
</div>
8989
<div>
9090
<input id="uploadDirectory" type="text" placeholder="Name of your world" value="{{uploadDirectory}}" />

public/assets/views/step3-steps.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ <h2>Choose a name / directory for your maps</h2>
7777
</div>
7878
</div>
7979

80-
<p>The directory be visible in the URL of your maps.</p>
80+
<p>The directory will be visible in the URL of your maps.</p>
8181
</div>
8282
<div>
8383
<input id="uploadDirectory" type="text" placeholder="Name of your world" value="{{uploadDirectory}}" />

src/server.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ const controllers = [
115115
];
116116

117117
// Verify and log all controllers created
118+
void controllers;
118119
/*controllers.forEach(controller => {
119120
console.info(`Controller started: ${controller.constructor.name}`);
120121
});*/

0 commit comments

Comments
 (0)