mirror of
https://github.com/mgerb/mywebsite
synced 2026-01-09 01:12:52 +00:00
domain change
This commit is contained in:
@@ -11,7 +11,7 @@
|
|||||||
<script src="https://unpkg.com/react@15/dist/react.min.js"></script>
|
<script src="https://unpkg.com/react@15/dist/react.min.js"></script>
|
||||||
<script src="https://unpkg.com/react-dom@15/dist/react-dom.min.js"></script>
|
<script src="https://unpkg.com/react-dom@15/dist/react-dom.min.js"></script>
|
||||||
<script src="https://unpkg.com/react-router/umd/ReactRouter.min.js"></script>
|
<script src="https://unpkg.com/react-router/umd/ReactRouter.min.js"></script>
|
||||||
<title>mitchel.io</title>
|
<title>Mitchell Gerber</title>
|
||||||
</head>
|
</head>
|
||||||
|
|
||||||
<body>
|
<body>
|
||||||
|
|||||||
@@ -11,7 +11,7 @@ Sensor information is stored in MongoDB. [ChartJS](http://www.chartjs.org/) is t
|
|||||||
## How posts are loaded
|
## How posts are loaded
|
||||||
- metadata.js recursivly scans the posts folder for markdown files and then parses each into into a json object
|
- metadata.js recursivly scans the posts folder for markdown files and then parses each into into a json object
|
||||||
- the posts folder is then copied into the dist folder
|
- the posts folder is then copied into the dist folder
|
||||||
[More information here](http://mitchel.io/post/Web%20Stuff/2016-09-19-loading-content)
|
[More information here](http://mitchellgerber.com/post/Web%20Stuff/2016-09-19-loading-content)
|
||||||
|
|
||||||
## Installation
|
## Installation
|
||||||
- `npm run deploy`
|
- `npm run deploy`
|
||||||
|
|||||||
@@ -13,7 +13,7 @@ func DiscordRedirect(w http.ResponseWriter, r *http.Request, _ httprouter.Params
|
|||||||
|
|
||||||
// Redirect to vpn
|
// Redirect to vpn
|
||||||
func VPNRedirect(w http.ResponseWriter, r *http.Request, _ httprouter.Params) {
|
func VPNRedirect(w http.ResponseWriter, r *http.Request, _ httprouter.Params) {
|
||||||
http.Redirect(w, r, "https://mitchel.io:943", 301)
|
http.Redirect(w, r, "https://mitchellgerber.com:943", 301)
|
||||||
}
|
}
|
||||||
|
|
||||||
// Redirect to security cameras
|
// Redirect to security cameras
|
||||||
|
|||||||
Reference in New Issue
Block a user