mirror of
https://github.com/terribleplan/next.js.git
synced 2024-01-19 02:48:18 +00:00
Fix URL (#1467)
This commit is contained in:
parent
b2fabf0fe0
commit
b682267b50
|
@ -2,7 +2,7 @@ import Document, { Head } from 'next/document'
|
|||
import { DOMProperty } from 'react-dom/lib/ReactInjection'
|
||||
|
||||
// By default React limit the set of valid DOM elements and attributes
|
||||
// (https://github.com/facebook/react/issues140) this config whitelist
|
||||
// (https://github.com/facebook/react/issues/140) this config whitelist
|
||||
// Amp elements/attributes
|
||||
DOMProperty.injectDOMPropertyConfig({
|
||||
Properties: { amp: DOMProperty.MUST_USE_ATTRIBUTE },
|
||||
|
|
Loading…
Reference in a new issue