Skip to content

Commit 9b62e2c

Browse files
fix: force PORT to be a string in concatenation
1 parent 1a13532 commit 9b62e2c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: aip_site/server.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,5 +92,5 @@ def fx():
9292
# This is the dev server, so plow over whatever the configuration
9393
# says that the site URL is.
9494
flask.g.site.config.setdefault('urls', {})
95-
flask.g.site.config['urls']['site'] = 'http://localhost:' + os.environ.get('PORT', 4000)
95+
flask.g.site.config['urls']['site'] = 'http://localhost:' + str(os.environ.get('PORT', 4000))
9696
return fx

0 commit comments

Comments
 (0)