mirror of
https://github.com/KevinMidboe/zoff.git
synced 2026-01-10 03:25:33 +00:00
Moved versionnumber out to own file instead of defining it two places
This commit is contained in:
5
server/VERSION.js
Normal file
5
server/VERSION.js
Normal file
@@ -0,0 +1,5 @@
|
||||
VERSION = 3;
|
||||
|
||||
try {
|
||||
module.exports = VERSION;
|
||||
} catch(e) {}
|
||||
@@ -1,4 +1,4 @@
|
||||
VERSION = 3;
|
||||
VERSION = require('./VERSION.js');
|
||||
|
||||
var server;
|
||||
var add = "";
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
var VERSION = 3;
|
||||
|
||||
var chan = window.chan === undefined ? $("#chan").html() : window.chan;
|
||||
var w_p = true;
|
||||
var hasadmin = 0;
|
||||
|
||||
Reference in New Issue
Block a user