Browse Source

Allow external access by default

You can disable access to port 5000 via firewall. So let the
default flask setting work outside of localhost.

Original Change-Id: I67b79873c6dfca052becba618f693b754855944d

Change-Id: I392faf8f650353f7a4c1e6df177c4090d77c3b92
changes/96/231596/1
Ramy Asselin 4 years ago
parent
commit
bde64a6a1f
2 changed files with 2 additions and 2 deletions
  1. +1
    -1
      ciwatch/__init__.py
  2. +1
    -1
      run.py

+ 1
- 1
ciwatch/__init__.py View File

@@ -24,7 +24,7 @@ __version__ = "0.0.1"


def main():
app.run(debug=True)
app.run(debug=True, host='0.0.0.0')


if __name__ == '__main__':

+ 1
- 1
run.py View File

@@ -15,4 +15,4 @@
import ciwatch

if __name__ == "__main__":
ciwatch.app.run(debug=True)
ciwatch.app.run(debug=True, host='0.0.0.0')

Loading…
Cancel
Save