1
0
Fork 0
mirror of https://github.com/sbrl/Nibriboard.git synced 2018-01-10 21:33:49 +00:00

Add blank index.js and build

This commit is contained in:
Starbeamrainbowlabs 2017-01-10 19:51:49 +00:00
parent 75089daaae
commit b3f0cc647f
5 changed files with 32 additions and 2 deletions

View file

View file

@ -9,8 +9,12 @@
"devDependencies": { "devDependencies": {
"rollupify": "^0.3.8" "rollupify": "^0.3.8"
}, },
"config": {
"bundle_file": "NibriClient.js"
},
"scripts": { "scripts": {
"test": "echo There aren\\'t any tests yet!" "test": "echo There aren\\'t any tests yet!",
"build": "browserify $npm_package_main -t rollupify -o $npm_package_config_bundle_file",
}, },
"repository": { "repository": {
"type": "git", "type": "git",

10
Nibriboard/Log.cs Normal file
View file

@ -0,0 +1,10 @@
using System;
namespace Nibriboard
{
public class Log
{
public Log()
{
}
}
}

View file

@ -0,0 +1,10 @@
using System;
namespace Nibriboard
{
public class NibriWebSocketClient
{
public NibriWebSocketClient()
{
}
}
}

View file

@ -18,8 +18,14 @@ namespace Nibriboard
{ {
httpServer = new HttpServer(Port); httpServer = new HttpServer(Port);
httpServer.AddHttpRequestHandler( httpServer.AddHttpRequestHandler(
"/" "/",
new HttpResourceHandler(
Assembly.GetExecutingAssembly(),
"Nibriboard",
"index.hmtl"
)
); );
httpServer.Start();
} }
} }
} }