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:
parent
75089daaae
commit
b3f0cc647f
5 changed files with 32 additions and 2 deletions
0
Nibriboard/Client/index.js
Normal file
0
Nibriboard/Client/index.js
Normal 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
10
Nibriboard/Log.cs
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
using System;
|
||||||
|
namespace Nibriboard
|
||||||
|
{
|
||||||
|
public class Log
|
||||||
|
{
|
||||||
|
public Log()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
10
Nibriboard/NibriWebSocketClient.cs
Normal file
10
Nibriboard/NibriWebSocketClient.cs
Normal file
|
@ -0,0 +1,10 @@
|
||||||
|
using System;
|
||||||
|
namespace Nibriboard
|
||||||
|
{
|
||||||
|
public class NibriWebSocketClient
|
||||||
|
{
|
||||||
|
public NibriWebSocketClient()
|
||||||
|
{
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
|
@ -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();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
Loading…
Reference in a new issue