mirror of
https://github.com/wassname/talk.git
synced 2026-07-15 11:26:58 +08:00
fix: fixed misplaced "!"
This commit is contained in:
+1
-1
@@ -66,7 +66,7 @@ if (!DISABLE_STATIC_SERVER) {
|
||||
* Serve the directories under dist.
|
||||
*/
|
||||
const dist = path.resolve(path.join(__dirname, '../dist'));
|
||||
if (process.env.NODE_ENV !== 'production') {
|
||||
if (process.env.NODE_ENV === 'production') {
|
||||
router.use(
|
||||
'/static',
|
||||
staticServer(dist, {
|
||||
|
||||
Reference in New Issue
Block a user