2019-03-29 17:20:12 +01:00
|
|
|
import Head from 'next/head'
|
2019-04-11 20:59:26 +02:00
|
|
|
import { withAmp } from 'next/amp'
|
2019-03-29 17:20:12 +01:00
|
|
|
|
2019-04-11 20:59:26 +02:00
|
|
|
export default withAmp(() => (
|
2019-03-29 17:20:12 +01:00
|
|
|
<div>
|
|
|
|
<Head>
|
|
|
|
<script src='/im-not-allowed.js' type='text/javascript' />
|
|
|
|
<script dangerouslySetInnerHTML={{
|
|
|
|
__html: `console.log("I'm not either :p")`
|
|
|
|
}} />
|
|
|
|
</Head>
|
|
|
|
<p>We only allow AMP scripts now</p>
|
|
|
|
</div>
|
2019-04-11 20:59:26 +02:00
|
|
|
))
|