mirror of
https://github.com/kremalicious/portfolio.git
synced 2025-01-03 18:35:00 +01:00
allow localhost
This commit is contained in:
parent
64c89d07a4
commit
b08115cd09
@ -2,7 +2,11 @@ import React, { PureComponent } from 'react'
|
|||||||
import Helmet from 'react-helmet'
|
import Helmet from 'react-helmet'
|
||||||
import styles from './HostnameCheck.module.scss'
|
import styles from './HostnameCheck.module.scss'
|
||||||
|
|
||||||
const allowedHosts = ['matthiaskretschmann.com', 'beta.matthiaskretschmann.com']
|
const allowedHosts = [
|
||||||
|
'matthiaskretschmann.com',
|
||||||
|
'beta.matthiaskretschmann.com',
|
||||||
|
'localhost'
|
||||||
|
]
|
||||||
|
|
||||||
export default class HostnameInfo extends PureComponent {
|
export default class HostnameInfo extends PureComponent {
|
||||||
checkAllowedHost = () => {
|
checkAllowedHost = () => {
|
||||||
|
Loading…
Reference in New Issue
Block a user