OSDN Git Service

update readme
[bytom/bytom-kit.git] / app / config.py
1 class Config(object):
2     BYTOM_HOST = 'http://127.0.0.1:9888'
3     BYTOM_WEBSOCKET = 'ws://localhost:9888/websocket-subscribe'
4
5
6 class DevelopmentConfig(Config):
7     pass
8
9
10 class TestingConfig(Config):
11     pass
12
13
14 class ProductionConfig(Config):
15     pass
16
17
18 config = {
19     'default': DevelopmentConfig,
20     'testing': TestingConfig,
21     'production': ProductionConfig
22 }