mirror of
https://github.com/kemko/PowerDNS-Admin.git
synced 2026-01-01 15:45:45 +03:00
12 lines
226 B
Python
Executable File
12 lines
226 B
Python
Executable File
#!/usr/bin/env python3
|
|
from app import app
|
|
from config import PORT
|
|
|
|
try:
|
|
from config import BIND_ADDRESS
|
|
except:
|
|
BIND_ADDRESS = '127.0.0.1'
|
|
|
|
if __name__ == '__main__':
|
|
app.run(debug = True, host=BIND_ADDRESS, port=PORT)
|