Skip to content

Commit

Permalink
Switch to production Serval
Browse files Browse the repository at this point in the history
  • Loading branch information
Enkidu93 committed Oct 23, 2023
1 parent ba6a3af commit e96ef70
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions samples/ServalApp/serval_app.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def update(build:Build, email_server:ServalAppEmailServer, data=None):
print(f"\tUpdated {build}")

serval_auth = ServalBearerAuth()
client = RemoteCaller(url_prefix="http://localhost",auth=serval_auth)
client = RemoteCaller(url_prefix="https://prod.serval-api.org",auth=serval_auth)
responses:"dict[str,function]" = {"Completed":completed, "Faulted":faulted, "Canceled":faulted}

def get_update(build:Build, email_server:ServalAppEmailServer):
Expand Down Expand Up @@ -91,7 +91,7 @@ def send_updates(email_server:ServalAppEmailServer):
st.session_state['authorized'] = False
st.session_state['authorization_failure'] = True
st.rerun()
client = RemoteCaller(url_prefix="http://localhost",auth=serval_auth)
client = RemoteCaller(url_prefix="https://prod.serval-api.org",auth=serval_auth)
engine = create_engine("sqlite:///builds.db")
Session = sessionmaker(bind=engine)
session = Session()
Expand Down

0 comments on commit e96ef70

Please sign in to comment.