Dear Gitlab users, due to maintenance reasons, Gitlab will not be available on Thursday 30.09.2021 from 5:00 pm to approximately 5:30 pm.

Commit 31fa5576 authored by Stefan Probst's avatar Stefan Probst
Browse files

fix: fix base url

parent c4829894
......@@ -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 }
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment