code: add some code that does not have "use strict" being set

Signed-off-by: Yonle <yonle@lecturify.net>
This commit is contained in:
Yonle 2024-05-19 22:53:59 +07:00
parent e55cf9025e
commit 2ea8f5bc98
3 changed files with 3 additions and 1 deletions

View File

@ -1,3 +1,4 @@
"use strict";
// Bostr config // Bostr config

View File

@ -1,6 +1,6 @@
{ {
"name": "bostr", "name": "bostr",
"version": "3.0.1", "version": "3.0.2",
"description": "Nostr relay bouncer", "description": "Nostr relay bouncer",
"main": "index.js", "main": "index.js",
"scripts": { "scripts": {

View File

@ -1,3 +1,4 @@
"use strict";
const { Worker } = require("worker_threads"); const { Worker } = require("worker_threads");
const worker = new Worker(__dirname + "/worker_bouncer.js", { name: "Bostr (worker)" }); const worker = new Worker(__dirname + "/worker_bouncer.js", { name: "Bostr (worker)" });