Skip to content

Commit

Permalink
updated app.yaml
Browse files Browse the repository at this point in the history
  • Loading branch information
chrisj committed Mar 18, 2024
1 parent 666fd84 commit 55e337b
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 28 deletions.
41 changes: 14 additions & 27 deletions appengine/frontend/app.yaml
Original file line number Diff line number Diff line change
@@ -1,32 +1,19 @@
runtime: python27
api_version: 1
threadsafe: true

# The skip_files element specifies which files
# in the application directory are not to be
# uploaded to App Engine.
skip_files:
- ^(.*/)?#.*#$
- ^(.*/)?.*~$
- ^(.*/)?.*\.py[co]$
- ^(.*/)?.*/RCS/.*$
- ^(.*/)?\..*$
- ^node_modules$
runtime: python312

service: default

handlers:
# Handle the main page by serving the index page.
# Note the $ to specify the end of the path, since app.yaml does prefix matching.
- url: /$
static_files: static/index.html
upload: static/index.html
login: optional
secure: always
redirect_http_response_code: 301
# Handle the main page by serving the index page.
# Note the $ to specify the end of the path, since app.yaml does prefix matching.
- url: /$
static_files: static/index.html
upload: static/index.html
login: optional
secure: always
redirect_http_response_code: 301

- url: /
static_dir: static
login: optional
secure: always
redirect_http_response_code: 301
- url: /
static_dir: static
login: optional
secure: always
redirect_http_response_code: 301
1 change: 0 additions & 1 deletion src/neuroglancer/authentication/base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,6 @@ async function authFetchOk(
input: RequestInfo, init?: RequestInit, handleError = true): Promise<Response> {
try {
const res = await fetch(input, init);
alert(`authFetchOk status ${res.status}`);
console.log("authFetchOk status", res.status);

if (res.status === 400 || res.status === 401) {
Expand Down

0 comments on commit 55e337b

Please sign in to comment.