Implemented username reserve feature
This commit is contained in:
@@ -51,7 +51,9 @@ module.exports = ({ production, analyzer }) => {
|
||||
new DefinePlugin({
|
||||
'process.env': {
|
||||
'NEWS_URI': production ? `"${process.env.NEWS_URI}"` : '"http://dev-news.eggtrainer.com:3100/news"',
|
||||
/* TODO: (1) NEWS_KEY needs to be set in the server, and auth'd via admin accounts, NOT embedded in the client */
|
||||
'NEWS_KEY': production ? `"${process.env.NEWS_KEY}"` : '"key"',
|
||||
'CHAT_URI': production ? `"${process.env.NEWS_URI}"` : '"http://dev-chat.eggtrainer.com:3200/chat"',
|
||||
}
|
||||
}),
|
||||
new CleanWebpackPlugin({
|
||||
|
||||
Reference in New Issue
Block a user