Less changes in PR (#724)

* remove .js dir

* update .gitigore

* remove .dist

* fix: remove EOL

* clean up json_plugins

* add host bash file

* fix: no need to run json

* add all files after merge

* fix: remove run json from pre-commit

* fix: not need to run git in npm json

* add delay to debug

* fix: git add command

* fix: typo

* update github actions

* fix: missing checkout action

* fix: make .sh executable

* update readme

* fix: git config

* fix: action condition
This commit is contained in:
nyagami
2024-01-25 19:59:30 +07:00
committed by GitHub
parent e46c7d07aa
commit 5d65f51fd3
119 changed files with 81 additions and 35419 deletions
+5 -2
View File
@@ -8,7 +8,10 @@ import * as pluginApi from "./test_web/api/plugins";
import localizedFormat from "dayjs/plugin/localizedFormat";
const app = express();
const port = 3000;
const port = Number(process.argv[2]);
if(!port){
process.exit(0);
}
const host = "localhost";
const dirname = path.join(__dirname, "..");
@@ -95,7 +98,7 @@ app.get("/", (req, res) => {
});
app.listen(port, host, () => {
console.log("Testing plugins web listening on http://localhost:3000");
console.log(`Testing plugins web listening on http://localhost:${port}`);
});
//Dayjs localization