Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
SSHOC
sshoc-marketplace-frontend
Commits
31fa5576
Commit
31fa5576
authored
May 04, 2021
by
Stefan Probst
Browse files
fix: fix base url
parent
c4829894
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/api/sshoc/index.ts
View file @
31fa5576
...
...
@@ -9,13 +9,13 @@
/* eslint-disable @typescript-eslint/no-namespace */
import
{
useMutation
,
useQuery
}
from
'
react-query
'
import
type
{
UseMutationOptions
,
UseMutationResult
,
UseQueryOptions
,
UseQueryResult
,
}
from
'
react-query
'
import
{
useMutation
,
useQuery
}
from
'
react-query
'
export
type
ActorRoleDto
=
{
code
?:
string
...
...
@@ -926,7 +926,8 @@ export type PublicationCore = {
dateLastUpdated
?:
string
}
const
defaultBaseUrl
=
'
http://localhost:8080
'
const
defaultBaseUrl
=
process
.
env
.
SSHOC_API_BASE_URL
??
process
.
env
.
NEXT_PUBLIC_SSHOC_API_BASE_URL
export
{
defaultBaseUrl
as
baseUrl
}
...
...
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