set new domain in configs

master
Tudor Stanciu 2022-12-29 22:15:45 +02:00
parent 6039dda5ce
commit 08dd469be3
9 changed files with 3212 additions and 3500 deletions

2
.env
View File

@ -1,4 +1,4 @@
REACT_APP_IDENTITY_AUTHENTICATION_URL=https://toodle.ddns.net/identity-server-api/identity/authenticate?UserName={username}&Password={password} REACT_APP_IDENTITY_AUTHENTICATION_URL=https://lab.code-rove.com/identity-server-api/identity/authenticate?UserName={username}&Password={password}
REACT_APP_ENABLE_TEMPLATE_CONTENT=True REACT_APP_ENABLE_TEMPLATE_CONTENT=True
REACT_APP_CDN_URL=http://localhost:5050 REACT_APP_CDN_URL=http://localhost:5050

View File

@ -1,4 +1,4 @@
PUBLIC_URL=/cdn-admin/ PUBLIC_URL=/cdn-admin/
REACT_APP_IDENTITY_AUTHENTICATION_URL=https://toodle.ddns.net/identity-server-api/identity/authenticate?UserName={username}&Password={password} REACT_APP_IDENTITY_AUTHENTICATION_URL=https://lab.code-rove.com/identity-server-api/identity/authenticate?UserName={username}&Password={password}
REACT_APP_ENABLE_TEMPLATE_CONTENT=False REACT_APP_ENABLE_TEMPLATE_CONTENT=False
REACT_APP_CDN_URL=https://toodle.ddns.net/cdn REACT_APP_CDN_URL=https://lab.code-rove.com/cdn

2
.npmrc
View File

@ -1 +1 @@
@flare:registry=https://toodle.ddns.net/public-node-registry @flare:registry=https://lab.code-rove.com/public-node-registry

View File

@ -4,7 +4,7 @@ Built with [React](https://facebook.github.io/react/), [Material-UI](https://mat
**This version uses React 16.14.0, React Router v5, MaterialUI v4, built with React Hooks and React Context (No Redux)** **This version uses React 16.14.0, React Router v5, MaterialUI v4, built with React Hooks and React Context (No Redux)**
[View Demo](https://toodle.ddns.net/cdn-admin/) | [Download](https://toodle.ddns.net/gitea/tudor/cdn-frontend) | [More projects](https://toodle.ddns.net/heimdall) | [Support forum](https://toodle.ddns.net/forum) [View Demo](https://lab.code-rove.com/cdn-admin/) | [Download](https://lab.code-rove.com/gitea/tudor/cdn-frontend) | [More projects](https://lab.code-rove.com/heimdall) | [Support forum](https://lab.code-rove.com/forum)
[![image](https://user-images.githubusercontent.com/24964748/55800639-df780300-5adc-11e9-84b7-7c2437088516.png)](https://flatlogic.com/admin-dashboards/react-material-admin/demo) [![image](https://user-images.githubusercontent.com/24964748/55800639-df780300-5adc-11e9-84b7-7c2437088516.png)](https://flatlogic.com/admin-dashboards/react-material-admin/demo)

View File

@ -22,6 +22,11 @@ COPY --from=builder /app/build/index.html ./application/
#install static server #install static server
RUN npm install -g serve RUN npm install -g serve
# environment variables
ENV AUTHOR="Tudor Stanciu"
ARG APP_VERSION=0.0.0
ENV APP_VERSION=${APP_VERSION}
#set workdir to root #set workdir to root
WORKDIR / WORKDIR /

6669
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,15 +1,15 @@
{ {
"name": "cdn-admin", "name": "cdn-admin",
"version": "1.0.0", "version": "1.0.3",
"description": "CDN administration application", "description": "CDN administration application",
"author": { "author": {
"name": "Tudor Stanciu", "name": "Tudor Stanciu",
"email": "tudor.stanciu94@gmail.com", "email": "tudor.stanciu94@gmail.com",
"url": "https://toodle.ddns.net/tsp" "url": "https://lab.code-rove.com/tsp"
}, },
"repository": { "repository": {
"type": "git", "type": "git",
"url": "https://toodle.ddns.net/gitea/tudor/cdn-frontend" "url": "https://lab.code-rove.com/gitea/tudor/cdn-frontend"
}, },
"private": true, "private": true,
"homepage": "./", "homepage": "./",

View File

@ -26,7 +26,7 @@ const ContentFooter = () => {
<div> <div>
<Link <Link
color={"primary"} color={"primary"}
href={"https://toodle.ddns.net/heimdall"} href={"https://lab.code-rove.com/heimdall"}
target={"_blank"} target={"_blank"}
className={classes.link} className={classes.link}
> >
@ -34,7 +34,7 @@ const ContentFooter = () => {
</Link> </Link>
<Link <Link
color={"primary"} color={"primary"}
href={"https://toodle.ddns.net/heimdall"} href={"https://lab.code-rove.com/heimdall"}
target={"_blank"} target={"_blank"}
className={classes.link} className={classes.link}
> >
@ -42,7 +42,7 @@ const ContentFooter = () => {
</Link> </Link>
<Link <Link
color={"primary"} color={"primary"}
href={"https://toodle.ddns.net/heimdall"} href={"https://lab.code-rove.com/heimdall"}
target={"_blank"} target={"_blank"}
className={classes.link} className={classes.link}
> >
@ -60,7 +60,7 @@ const ContentFooter = () => {
<Icon path={TwitterIcon} size={1} color="#6E6E6E99" /> <Icon path={TwitterIcon} size={1} color="#6E6E6E99" />
</IconButton> </IconButton>
</Link> </Link>
<Link href={"https://toodle.ddns.net/gitea/"} target={"_blank"}> <Link href={"https://lab.code-rove.com/gitea/"} target={"_blank"}>
<IconButton aria-label="github" style={{ marginRight: -12 }}> <IconButton aria-label="github" style={{ marginRight: -12 }}>
<Icon path={GithubIcon} size={1} color="#6E6E6E99" /> <Icon path={GithubIcon} size={1} color="#6E6E6E99" />
</IconButton> </IconButton>

View File

@ -68,19 +68,19 @@ let menu = [
{ {
id: 9, id: 9,
label: "Menu.Library", label: "Menu.Library",
link: "https://toodle.ddns.net/gitea/tudor/cdn-frontend", link: "https://lab.code-rove.com/gitea/tudor/cdn-frontend",
icon: <LibraryIcon /> icon: <LibraryIcon />
}, },
{ {
id: 10, id: 10,
label: "Menu.Support", label: "Menu.Support",
link: "https://toodle.ddns.net/tsp", link: "https://lab.code-rove.com/tsp",
icon: <SupportIcon /> icon: <SupportIcon />
}, },
{ {
id: 11, id: 11,
label: "Menu.FAQ", label: "Menu.FAQ",
link: "https://toodle.ddns.net/tsp", link: "https://lab.code-rove.com/tsp",
icon: <FAQIcon /> icon: <FAQIcon />
} }
]; ];