set new domain in configs
parent
6039dda5ce
commit
08dd469be3
2
.env
2
.env
|
@ -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
|
||||||
|
|
||||||
|
|
|
@ -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
2
.npmrc
|
@ -1 +1 @@
|
||||||
@flare:registry=https://toodle.ddns.net/public-node-registry
|
@flare:registry=https://lab.code-rove.com/public-node-registry
|
|
@ -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)
|
||||||
|
|
||||||
|
|
|
@ -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 /
|
||||||
|
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -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": "./",
|
||||||
|
|
|
@ -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>
|
||||||
|
|
|
@ -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 />
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
Loading…
Reference in New Issue