Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
pvk-tool
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
13
Issues
13
List
Boards
Labels
Service Desk
Milestones
Merge Requests
2
Merge Requests
2
Operations
Operations
Incidents
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
amiv
pvk-tool
Commits
e3e88c33
Commit
e3e88c33
authored
Apr 08, 2018
by
Alexander Dietmüller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update URLS
parent
bedcea28
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
4 additions
and
7 deletions
+4
-7
Backend/backend/settings.py
Backend/backend/settings.py
+1
-1
Backend/reset_development_server.py
Backend/reset_development_server.py
+2
-2
Frontend/config.js
Frontend/config.js
+1
-1
Frontend/config.prod.js
Frontend/config.prod.js
+0
-3
No files found.
Backend/backend/settings.py
View file @
e3e88c33
...
...
@@ -16,7 +16,7 @@ X_DOMAINS = '*'
X_HEADERS
=
[
'Authorization'
,
'If-Match'
,
'If-Modified-Since'
,
'Content-Type'
]
# AMIVAPI URL and Admin Group
AMIVAPI_URL
=
'https://a
miv-api
.ethz.ch'
AMIVAPI_URL
=
'https://a
pi.amiv
.ethz.ch'
ADMIN_GROUP_NAME
=
'PVK Admins'
# DB (can be set by env for easier CI tests)
...
...
Backend/reset_development_server.py
View file @
e3e88c33
...
...
@@ -12,8 +12,8 @@ from datetime import datetime as dt, timedelta
import
requests
AMIVAPI_DEV_URL
=
"https://a
miv-api
.ethz.ch"
PVK_DEV_URL
=
'http://pvk-api-dev.amiv.ethz.ch'
AMIVAPI_DEV_URL
=
"https://a
pi-dev.amiv
.ethz.ch"
PVK_DEV_URL
=
'http
s
://pvk-api-dev.amiv.ethz.ch'
DATE_FORMAT
=
"%Y-%m-%dT%H:%M:%SZ"
# Number of courses
...
...
Frontend/config.js
View file @
e3e88c33
// AMIV API config
export
const
adminGroupName
=
'
PVK Admins
'
;
export
const
amivApiUrl
=
'
https://a
miv-api
.ethz.ch
'
;
export
const
amivApiUrl
=
'
https://a
pi-dev.amiv
.ethz.ch
'
;
// PVK backend
export
const
pvkApiUrl
=
'
http://pvk-api-dev.amiv.ethz.ch
'
;
...
...
Frontend/config.prod.js
View file @
e3e88c33
// TODO: Most of the non-dev urls are not yet live, replace them with correct
// versions as soon as available
// AMIV API config
export
const
adminGroupName
=
'
PVK Admins
'
;
export
const
amivApiUrl
=
'
https://api.amiv.ethz.ch
'
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment