IW4M-Admin/Master/master/resources/version.py
RaidMax 438718507b more api tweaks
removed WebfrontSettings
IW4MAdminSettings are only generated when the file does not exist, placeholder values stored in DefaultSettings.json
2018-04-19 00:48:14 -05:00

9 lines
292 B
Python

from flask_restful import Resource
from master import config
class Version(Resource):
def get(self):
return {
'current-version-stable' : config['current-version-stable'],
'current-version-prerelease' : config['current-version-prerelease']
}, 200