Add linking tool script to set environment variables and import main application module
This commit is contained in:
7
bin/linking-tool.js
Executable file
7
bin/linking-tool.js
Executable file
@@ -0,0 +1,7 @@
|
||||
#!/usr/bin/env node
|
||||
|
||||
process.env.HOST = process.env.HOST || '127.0.0.1';
|
||||
process.env.PORT = process.env.PORT || '3000';
|
||||
|
||||
import '../build/index.js';
|
||||
|
||||
Reference in New Issue
Block a user