Skip to content

Commit

Permalink
Fixed URI to include backslash
Browse files Browse the repository at this point in the history
  • Loading branch information
sean-morris committed Jun 18, 2022
1 parent 5355587 commit a58440d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion pytest.ini
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ env =
ERROR_PATH=ottererrors
SUBMISSIONS_PATH=submissions
DB_PATH=gradebook.db
JUPYTERHUB_SERVICE_PREFIX=/services/gofer_nb
JUPYTERHUB_SERVICE_PREFIX=/services/gofer_nb/
AUTOGRADER_REPO=materials-x22-private
AUTOGRADER_MATERIALS_SUBPATH=materials/x22
AUTOGRADER_MATERIALS_URL=github.com/data-8/materials-x22-private/archive/main.tar.gz
2 changes: 1 addition & 1 deletion src/otter_service/otter_nb.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
from otter_service.grade_assignment import grade_assignment
from otter_service import create_database

PREFIX = os.environ.get('JUPYTERHUB_SERVICE_PREFIX', '/services/gofer_nb')
PREFIX = os.environ.get('JUPYTERHUB_SERVICE_PREFIX', '/services/gofer_nb/')
VOLUME_PATH = os.getenv("VOLUME_PATH")
SERVER_LOG_FILE = f"{VOLUME_PATH}/" + os.getenv("SERVER_LOG_FILE")
OTTER_LOG_FILE = f"{VOLUME_PATH}/" + os.getenv("OTTER_LOG_FILE")
Expand Down
2 changes: 1 addition & 1 deletion tests/integration.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import json
import requests

JUPYTERHUB_SERVICE_PREFIX = "/services/gofer_nb"
JUPYTERHUB_SERVICE_PREFIX = "/services/gofer_nb/"
server_map = {
"local": f"http://localhost:10101{JUPYTERHUB_SERVICE_PREFIX}",
"staging-lb": f"http://35.193.0.244:10101{JUPYTERHUB_SERVICE_PREFIX}",
Expand Down

0 comments on commit a58440d

Please sign in to comment.