File size: 361 Bytes
1e92f2d
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import Head from 'next/head'

export const config = { amp: true }

export default () => (
  <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>
)