Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
D
DojoAssignmentChecker
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Dojo Project (HES-SO)
Projects
Pipelines
DojoAssignmentChecker
Commits
ed7a8e2b
Commit
ed7a8e2b
authored
1 month ago
by
michael.minelli
Browse files
Options
Downloads
Patches
Plain Diff
Config => Fix readonly bug
parent
51f00ebf
No related branches found
No related tags found
No related merge requests found
Pipeline
#38947
passed
1 month ago
Stage: code_quality
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
AssignmentChecker/src/config/Config.ts
+3
-3
3 additions, 3 deletions
AssignmentChecker/src/config/Config.ts
with
3 additions
and
3 deletions
AssignmentChecker/src/config/Config.ts
+
3
−
3
View file @
ed7a8e2b
...
@@ -13,11 +13,11 @@ class Config {
...
@@ -13,11 +13,11 @@ class Config {
project
:
string
;
resultsVolume
:
string
;
resultsDojo
:
string
;
resultsExercise
:
string
;
project
:
string
;
resultsVolume
:
string
;
resultsDojo
:
string
;
resultsExercise
:
string
;
};
};
public
readonly
assignment
!
:
{
public
assignment
!
:
{
name
:
string
;
secret
:
string
;
name
:
string
;
secret
:
string
;
};
};
public
readonly
dockerhub
!
:
{
public
dockerhub
!
:
{
repositories
:
{
repositories
:
{
assignmentChecker
:
string
assignmentChecker
:
string
}
}
...
@@ -27,7 +27,7 @@ class Config {
...
@@ -27,7 +27,7 @@ class Config {
async
init
()
{
async
init
()
{
this
.
appName
=
process
.
env
.
APP_NAME
||
''
;
this
.
appName
=
process
.
env
.
APP_NAME
||
''
;
const
apiUrl
=
process
.
env
.
API_URL
??
''
;
const
apiUrl
=
process
.
env
.
API_URL
??
''
;
await
ClientsSharedConfig
.
init
(
apiUrl
);
await
ClientsSharedConfig
.
init
(
apiUrl
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment