Compare commits
No commits in common. "9529f5d17b5d042d5b253516a984c4868c6aaba6" and "5cc1830e2b446094eefd21759cd94b4a103f7c4a" have entirely different histories.
9529f5d17b
...
5cc1830e2b
1
.gitignore
vendored
1
.gitignore
vendored
@ -13,7 +13,6 @@
|
|||||||
|
|
||||||
# misc
|
# misc
|
||||||
.DS_Store
|
.DS_Store
|
||||||
.env
|
|
||||||
.env.local
|
.env.local
|
||||||
.env.development.local
|
.env.development.local
|
||||||
.env.test.local
|
.env.test.local
|
||||||
|
|||||||
24
README.md
24
README.md
@ -26,27 +26,3 @@ npm run build
|
|||||||
The development server will start on `http://localhost:3000`
|
The development server will start on `http://localhost:3000`
|
||||||
|
|
||||||
Get css docs here https://materializecss.com/
|
Get css docs here https://materializecss.com/
|
||||||
|
|
||||||
Default .htaccess file
|
|
||||||
|
|
||||||
```
|
|
||||||
<IfModule mod_rewrite.c>
|
|
||||||
|
|
||||||
RewriteEngine On
|
|
||||||
RewriteBase /
|
|
||||||
RewriteRule ^index\.html$ - [L]
|
|
||||||
RewriteCond %{REQUEST_FILENAME} !-f
|
|
||||||
RewriteCond %{REQUEST_FILENAME} !-d
|
|
||||||
RewriteCond %{REQUEST_FILENAME} !-l
|
|
||||||
RewriteRule . /index.html [L]
|
|
||||||
|
|
||||||
</IfModule>
|
|
||||||
```
|
|
||||||
|
|
||||||
env variables
|
|
||||||
|
|
||||||
```
|
|
||||||
REACT_APP_SITE_URL=SITEURL
|
|
||||||
REACT_APP_API_ADDRESS=ADDRESS
|
|
||||||
REACT_APP_API_KEY=APIKEY
|
|
||||||
```
|
|
||||||
@ -1,3 +0,0 @@
|
|||||||
REACT_APP_SITE_URL=SITEURL
|
|
||||||
REACT_APP_API_ADDRESS=ADDRESS
|
|
||||||
REACT_APP_API_KEY=APIKEY
|
|
||||||
@ -1,11 +0,0 @@
|
|||||||
<IfModule mod_rewrite.c>
|
|
||||||
|
|
||||||
RewriteEngine On
|
|
||||||
RewriteBase /
|
|
||||||
RewriteRule ^index\.html$ - [L]
|
|
||||||
RewriteCond %{REQUEST_FILENAME} !-f
|
|
||||||
RewriteCond %{REQUEST_FILENAME} !-d
|
|
||||||
RewriteCond %{REQUEST_FILENAME} !-l
|
|
||||||
RewriteRule . /index.html [L]
|
|
||||||
|
|
||||||
</IfModule>
|
|
||||||
@ -3,5 +3,5 @@ import axios from "axios";
|
|||||||
// Axios create, exporting callAPI
|
// Axios create, exporting callAPI
|
||||||
|
|
||||||
export const callAPI = axios.create({
|
export const callAPI = axios.create({
|
||||||
baseURL: process.env.REACT_APP_API_ADDRESS,
|
baseURL: "https://devapi.benjamyn.love/migrations/",
|
||||||
});
|
});
|
||||||
|
|||||||
@ -9,7 +9,7 @@ function Msgbox(props) {
|
|||||||
<span className="card-title">
|
<span className="card-title">
|
||||||
{ props.error ? <span> { "Unable to update: " + props.error } </span> : null }
|
{ props.error ? <span> { "Unable to update: " + props.error } </span> : null }
|
||||||
{ props.msg ? <span className="white-text">{ "Updated migration details for: " + props.msg }</span> : null }
|
{ props.msg ? <span className="white-text">{ "Updated migration details for: " + props.msg }</span> : null }
|
||||||
{ props.linkid ? <a href={ process.env.REACT_APP_SITE_URL + props.linkid } className="white-link">{process.env.REACT_APP_SITE_URL + props.linkid }</a> : null }
|
{ props.linkid ? <a href={ "https://devui.benjamyn.love/migrations/" + props.linkid } className="white-link">{"https://devui.benjamyn.love/migrations/" + props.linkid }</a> : null }
|
||||||
</span>
|
</span>
|
||||||
</center>
|
</center>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
Reference in New Issue
Block a user