mirror of
https://github.com/portainer/portainer.git
synced 2025-07-30 18:59:41 +02:00
Initial commit
This commit is contained in:
commit
bec8f53386
218 changed files with 55344 additions and 0 deletions
14
assets/js/tests/server.js
Executable file
14
assets/js/tests/server.js
Executable file
|
@ -0,0 +1,14 @@
|
|||
/*
|
||||
* Simple connect server for phantom.js
|
||||
* Adapted from Modernizr
|
||||
*/
|
||||
|
||||
var connect = require('connect')
|
||||
, http = require('http')
|
||||
, fs = require('fs')
|
||||
, app = connect()
|
||||
.use(connect.static(__dirname + '/../../'));
|
||||
|
||||
http.createServer(app).listen(3000);
|
||||
|
||||
fs.writeFileSync(__dirname + '/pid.txt', process.pid, 'utf-8')
|
Loading…
Add table
Add a link
Reference in a new issue