diff --git a/LICENSE-MIT b/LICENSE-MIT deleted file mode 100644 index 00200bb..0000000 --- a/LICENSE-MIT +++ /dev/null @@ -1,22 +0,0 @@ -Copyright (c) 2018 Darius Kazemi - -Permission is hereby granted, free of charge, to any person -obtaining a copy of this software and associated documentation -files (the "Software"), to deal in the Software without -restriction, including without limitation the rights to use, -copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the -Software is furnished to do so, subject to the following -conditions: - -The above copyright notice and this permission notice shall be -included in all copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, -EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES -OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND -NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT -HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, -WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING -FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR -OTHER DEALINGS IN THE SOFTWARE. diff --git a/index.js b/index.js index ce8b361..2c7ebbf 100644 --- a/index.js +++ b/index.js @@ -70,6 +70,7 @@ app.use('/.well-known/webfinger', cors(), routes.webfinger); app.use('/u', cors(), routes.user); app.use('/m', cors(), routes.message); app.use('/api/inbox', cors(), routes.inbox); +app.use('/hubs', express.static('../hubs/dist')); http.createServer(app).listen(app.get('port'), function(){ console.log('Express server listening on port ' + app.get('port')); diff --git a/package.json b/package.json index 49afcd5..b749408 100644 --- a/package.json +++ b/package.json @@ -1,5 +1,5 @@ { - "name": "bot-node", + "name": "hubbubpub", "version": "1.0.0", "description": "", "main": "index.js", @@ -19,6 +19,6 @@ "start": "node index.js", "test": "echo \"Error: no test specified\" && exit 1" }, - "author": "", - "license": "MIT" + "author": "Will Murphy", + "license": "AGPL-3.0-or-later" }