Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
webserver-with-docker
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
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
Ulrik Ofstad
webserver-with-docker
Commits
f59603fc
Commit
f59603fc
authored
1 year ago
by
Ulrik Ofstad
Browse files
Options
Downloads
Patches
Plain Diff
final
parent
be067a99
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
server/src/app.ts
+3
-3
3 additions, 3 deletions
server/src/app.ts
with
3 additions
and
3 deletions
server/src/app.ts
+
3
−
3
View file @
f59603fc
import
express
from
'
express
'
;
import
express
from
"
express
"
;
import
taskRouter
from
'
./task-router
'
;
import
taskRouter
from
"
./task-router
"
;
/**
/**
* Express application.
* Express application.
...
@@ -9,6 +9,6 @@ const app = express();
...
@@ -9,6 +9,6 @@ const app = express();
app
.
use
(
express
.
json
());
app
.
use
(
express
.
json
());
// Since API is not compatible with v1, API version is increased to v2
// Since API is not compatible with v1, API version is increased to v2
app
.
use
(
'
/api/v2
'
,
taskRouter
);
app
.
use
(
"
/api/v2
"
,
taskRouter
);
export
default
app
;
export
default
app
;
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