Skip to content

Commit 5663b21

Browse files
fix(setupSubdomain): always pass DevLayer as .js
1 parent 6ebe5c3 commit 5663b21

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -319,7 +319,7 @@ async function init() {
319319
write("package.json", JSON.stringify(pkg, null, 2) + "\n");
320320
const ext = template.split("-")[1] ? "ts" : "js";
321321
await setupSecret(root, `src/index.${ext}`, secret);
322-
await setupSubdomain(root, `src/DevLayer.${ext}`);
322+
await setupSubdomain(root, `src/DevLayer.js`);
323323
let doneMessage = "";
324324
const cdProjectName = path.relative(cwd, root);
325325
doneMessage += `All done! Execute:\n`;

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "create-discord-https",
33
"description": "Create Discord.https-powered bots with one command.",
4-
"version": "2.0.1",
4+
"version": "2.0.2",
55
"bin": {
66
"create-discord-https": "index.js"
77
},

0 commit comments

Comments
 (0)