diff --git a/brainlet/api/v1/content.js b/api/v1/content.js similarity index 100% rename from brainlet/api/v1/content.js rename to api/v1/content.js diff --git a/brainlet/api/v1/index.js b/api/v1/index.js similarity index 100% rename from brainlet/api/v1/index.js rename to api/v1/index.js diff --git a/brainlet/api/v1/users.js b/api/v1/users.js similarity index 100% rename from brainlet/api/v1/users.js rename to api/v1/users.js diff --git a/brainlet/api/v2/gateway/index.js b/api/v2/gateway/index.js similarity index 99% rename from brainlet/api/v2/gateway/index.js rename to api/v2/gateway/index.js index 3c3ba59..f887abe 100644 --- a/brainlet/api/v2/gateway/index.js +++ b/api/v2/gateway/index.js @@ -3,7 +3,7 @@ const { v4 } = require("uuid"); const mongoose = require("mongoose"); const { policies, gatewayPingInterval, gatewayPingCheckInterval, clientFacingPingInterval } = require("../../../config"); -const { experiments } = require("../../../experiments"); +const { experiments } = require("../../../config"); const User = require("../../../models/User"); const Channel = require("../../../models/Channel"); const Message = require("../../../models/Message"); diff --git a/brainlet/api/v2/gateway/messageparser.js b/api/v2/gateway/messageparser.js similarity index 100% rename from brainlet/api/v2/gateway/messageparser.js rename to api/v2/gateway/messageparser.js diff --git a/brainlet/app/index.html b/app/index.html similarity index 100% rename from brainlet/app/index.html rename to app/index.html diff --git a/brainlet/app/robots.txt b/app/robots.txt similarity index 100% rename from brainlet/app/robots.txt rename to app/robots.txt diff --git a/brainlet/experiments.js b/brainlet/experiments.js deleted file mode 100644 index 719b657..0000000 --- a/brainlet/experiments.js +++ /dev/null @@ -1,5 +0,0 @@ -module.exports = { - experiments: { - voiceSFUTesting: false - } -}; diff --git a/brainlet/secret.js b/brainlet/secret.js deleted file mode 100755 index f60976e..0000000 --- a/brainlet/secret.js +++ /dev/null @@ -1,3 +0,0 @@ -module.exports = { - jwtPrivateKey: "KEY", -}; diff --git a/brainlet/common/auth/authfunctions.js b/common/auth/authfunctions.js similarity index 100% rename from brainlet/common/auth/authfunctions.js rename to common/auth/authfunctions.js diff --git a/brainlet/config.js b/config.js similarity index 96% rename from brainlet/config.js rename to config.js index ed4754a..dcc8b79 100755 --- a/brainlet/config.js +++ b/config.js @@ -39,6 +39,9 @@ module.exports = { gatewayPingCheckInterval: 4500, clientFacingPingInterval: 14750, bcryptRounds: 10, + experiments: { + voiceSFUTesting: false + }, roleMap: { "BANNED": 0, "RESTRICTED": 1, diff --git a/brainlet/index.js b/index.js similarity index 100% rename from brainlet/index.js rename to index.js diff --git a/brainlet/models/Channel.js b/models/Channel.js similarity index 100% rename from brainlet/models/Channel.js rename to models/Channel.js diff --git a/brainlet/models/Message.js b/models/Message.js similarity index 100% rename from brainlet/models/Message.js rename to models/Message.js diff --git a/brainlet/models/Post.js b/models/Post.js similarity index 100% rename from brainlet/models/Post.js rename to models/Post.js diff --git a/brainlet/models/User.js b/models/User.js similarity index 100% rename from brainlet/models/User.js rename to models/User.js diff --git a/brainlet/package-lock.json b/package-lock.json similarity index 100% rename from brainlet/package-lock.json rename to package-lock.json diff --git a/brainlet/package.json b/package.json similarity index 100% rename from brainlet/package.json rename to package.json