mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-12-30 15:05:39 +00:00
8ea00b9484
- Use Flask blueprint - Split model and views into smaller parts - Bug fixes - API adjustment
7 lines
224 B
Python
Executable File
7 lines
224 B
Python
Executable File
#!/usr/bin/env python3
|
|
from powerdnsadmin import create_app
|
|
|
|
if __name__ == '__main__':
|
|
app = create_app()
|
|
app.run(debug = True, host=app.config.get('BIND_ADDRESS', '127.0.0.1'), port=app.config.get('PORT', '9191'))
|