Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
frontend
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Jira
External wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
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
minerva
frontend
Commits
ec99154f
Commit
ec99154f
authored
1 year ago
by
Adrian Orłów
Browse files
Options
Downloads
Patches
Plain Diff
fix: make zod seed an env
parent
52e67bf5
No related branches found
Branches containing commit
No related tags found
Tags containing commit
2 merge requests
!223
reset the pin numbers before search results are fetch (so the results will be...
,
!43
feat: add map full data mgmt
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
.env
+1
-0
1 addition, 0 deletions
.env
next.config.js
+1
-1
1 addition, 1 deletion
next.config.js
src/constants/index.ts
+3
-1
3 additions, 1 deletion
src/constants/index.ts
with
5 additions
and
2 deletions
.env
+
1
−
0
View file @
ec99154f
...
...
@@ -2,3 +2,4 @@
NEXT_PUBLIC_BASE_API_URL = 'https://corsproxy.io/?https://lux1.atcomp.pl/minerva/api'
NEXT_PUBLIC_BASE_NEW_API_URL = 'https://corsproxy.io/?https://lux1.atcomp.pl/minerva/new_api/'
NEXT_PUBLIC_PROJECT_ID = 'pdmap_appu_test'
ZOD_SEED = 997
This diff is collapsed.
Click to expand it.
next.config.js
+
1
−
1
View file @
ec99154f
...
...
@@ -8,7 +8,7 @@ const nextConfig = {
BASE_API_URL
:
process
.
env
.
NEXT_PUBLIC_BASE_API_URL
||
''
,
BASE_MAP_IMAGES_URL
:
process
.
env
.
BASE_MAP_IMAGES_URL
||
''
,
PROJECT_ID
:
process
.
env
.
NEXT_PUBLIC_PROJECT_ID
||
''
,
ZOD_SEED
:
997
,
ZOD_SEED
:
process
.
env
.
ZOD_SEED
||
123
,
},
};
...
...
This diff is collapsed.
Click to expand it.
src/constants/index.ts
+
3
−
1
View file @
ec99154f
/* eslint-disable no-magic-numbers */
export
const
BASE_API_URL
=
process
.
env
.
NEXT_PUBLIC_BASE_API_URL
||
''
;
export
const
BASE_MAP_IMAGES_URL
=
process
.
env
.
BASE_MAP_IMAGES_URL
||
''
;
export
const
BASE_NEW_API_URL
=
process
.
env
.
NEXT_PUBLIC_BASE_NEW_API_URL
||
''
;
export
const
PROJECT_ID
=
process
.
env
.
NEXT_PUBLIC_PROJECT_ID
||
''
;
export
const
ZOD_SEED
=
997
;
export
const
ZOD_SEED
=
parseInt
(
process
.
env
.
ZOD_SEED
||
'
123
'
,
10
)
;
export
const
BIO_ENTITY
=
'
bioEntity
'
;
export
const
DRUGS_CHEMICALS_MIRNA
=
[
'
drugs
'
,
'
chemicals
'
,
'
mirna
'
];
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