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_CDN_URL=http://localhost:5050
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
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_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)**
|
||||
|
||||
[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)
|
||||
|
||||
|
|
|
@ -22,6 +22,11 @@ COPY --from=builder /app/build/index.html ./application/
|
|||
#install static server
|
||||
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
|
||||
WORKDIR /
|
||||
|
||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -1,15 +1,15 @@
|
|||
{
|
||||
"name": "cdn-admin",
|
||||
"version": "1.0.0",
|
||||
"version": "1.0.3",
|
||||
"description": "CDN administration application",
|
||||
"author": {
|
||||
"name": "Tudor Stanciu",
|
||||
"email": "tudor.stanciu94@gmail.com",
|
||||
"url": "https://toodle.ddns.net/tsp"
|
||||
"url": "https://lab.code-rove.com/tsp"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "https://toodle.ddns.net/gitea/tudor/cdn-frontend"
|
||||
"url": "https://lab.code-rove.com/gitea/tudor/cdn-frontend"
|
||||
},
|
||||
"private": true,
|
||||
"homepage": "./",
|
||||
|
|
|
@ -26,7 +26,7 @@ const ContentFooter = () => {
|
|||
<div>
|
||||
<Link
|
||||
color={"primary"}
|
||||
href={"https://toodle.ddns.net/heimdall"}
|
||||
href={"https://lab.code-rove.com/heimdall"}
|
||||
target={"_blank"}
|
||||
className={classes.link}
|
||||
>
|
||||
|
@ -34,7 +34,7 @@ const ContentFooter = () => {
|
|||
</Link>
|
||||
<Link
|
||||
color={"primary"}
|
||||
href={"https://toodle.ddns.net/heimdall"}
|
||||
href={"https://lab.code-rove.com/heimdall"}
|
||||
target={"_blank"}
|
||||
className={classes.link}
|
||||
>
|
||||
|
@ -42,7 +42,7 @@ const ContentFooter = () => {
|
|||
</Link>
|
||||
<Link
|
||||
color={"primary"}
|
||||
href={"https://toodle.ddns.net/heimdall"}
|
||||
href={"https://lab.code-rove.com/heimdall"}
|
||||
target={"_blank"}
|
||||
className={classes.link}
|
||||
>
|
||||
|
@ -60,7 +60,7 @@ const ContentFooter = () => {
|
|||
<Icon path={TwitterIcon} size={1} color="#6E6E6E99" />
|
||||
</IconButton>
|
||||
</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 }}>
|
||||
<Icon path={GithubIcon} size={1} color="#6E6E6E99" />
|
||||
</IconButton>
|
||||
|
|
|
@ -68,19 +68,19 @@ let menu = [
|
|||
{
|
||||
id: 9,
|
||||
label: "Menu.Library",
|
||||
link: "https://toodle.ddns.net/gitea/tudor/cdn-frontend",
|
||||
link: "https://lab.code-rove.com/gitea/tudor/cdn-frontend",
|
||||
icon: <LibraryIcon />
|
||||
},
|
||||
{
|
||||
id: 10,
|
||||
label: "Menu.Support",
|
||||
link: "https://toodle.ddns.net/tsp",
|
||||
link: "https://lab.code-rove.com/tsp",
|
||||
icon: <SupportIcon />
|
||||
},
|
||||
{
|
||||
id: 11,
|
||||
label: "Menu.FAQ",
|
||||
link: "https://toodle.ddns.net/tsp",
|
||||
link: "https://lab.code-rove.com/tsp",
|
||||
icon: <FAQIcon />
|
||||
}
|
||||
];
|
||||
|
|
Loading…
Reference in New Issue