Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
MECRED
Frontend-MECRED
Commits
8c42da00
Commit
8c42da00
authored
4 months ago
by
Richard Fernando Heise Ferreira
Browse files
Options
Download
Plain Diff
Merge branch 'fix-detail' into 'develop'
Simple change (no issue) See merge request
!163
parents
ca14f32b
635ecb21
Pipeline
#38935
passed with stage
in 1 minute and 49 seconds
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/app/components/About.js
+2
-2
src/app/components/About.js
src/axiosConfig.js
+3
-3
src/axiosConfig.js
with
5 additions
and
5 deletions
+5
-5
src/app/components/About.js
+
2
-
2
View file @
8c42da00
...
...
@@ -41,8 +41,8 @@ export default function AboutComponent() {
/
>
<
/div
>
<
div
>
<
h1
className
=
{
`text-xl mb-1 font-bold
${
color
[
"
text
"
]}
`
}
>
{
data
}
<
/h1
>
<
h2
className
=
{
`text-base leading-tight font-bold
${
color
[
"
text
"
]}
`
}
>
{
name
}
<
/h2
>
<
h1
className
=
{
`text-xl mb-1 font-bold
max-sm:text-left
${
color
[
"
text
"
]}
`
}
>
{
data
}
<
/h1
>
<
h2
className
=
{
`text-base leading-tight font-bold
max-sm:text-left
${
color
[
"
text
"
]}
`
}
>
{
name
}
<
/h2
>
<
/div
>
<
/div
>
);
...
...
This diff is collapsed.
Click to expand it.
src/axiosConfig.js
+
3
-
3
View file @
8c42da00
...
...
@@ -3,8 +3,8 @@ import {
saveToLocalStorage
,
}
from
"
./app/handlers/localStorageHandler
"
;
export
const
mecredURL
=
"
https://api.mec
red
.c3sl.ufpr.br/
"
;
export
const
mecredURLv1
=
"
https://api.mec
red
.c3sl.ufpr.br/v1
"
;
export
const
mecredURL
=
"
https://api.
portal
mec.c3sl.ufpr.br/
"
;
export
const
mecredURLv1
=
"
https://api.
portal
mec.c3sl.ufpr.br/v1
"
;
const
wrapper
=
(
method
)
=>
{
return
(...
args
)
=>
{
...
...
@@ -20,7 +20,7 @@ const wrapper = (method) => {
const
mecredApi
=
(()
=>
{
const
api
=
axios
.
create
({
baseURL
:
"
https://api.mec
red
.c3sl.ufpr.br/v1
"
,
baseURL
:
"
https://api.
portal
mec.c3sl.ufpr.br/v1
"
,
});
const
wrappedApi
=
{
...
...
This diff is collapsed.
Click to expand it.
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
Menu
Projects
Groups
Snippets
Help