Skip to content

Commit

Permalink
ping api
Browse files Browse the repository at this point in the history
  • Loading branch information
lesnitsky committed Dec 28, 2019
1 parent 0c064e8 commit b984dd4
Showing 1 changed file with 13 additions and 1 deletion.
14 changes: 13 additions & 1 deletion pages/_document.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,10 @@ export default class MyDocument extends Document {
<html>
<Head>
<meta name="viewport" content="initial-scale=1.0, width=device-width" />
<meta name="description" content="How to do this in Flutter? Cheat sheet for React Native developers trying Flutter. Find Flutter alternatives for familliar concepts" />
<meta
name="description"
content="How to do this in Flutter? Cheat sheet for React Native developers trying Flutter. Find Flutter alternatives for familliar concepts"
/>
<link
rel="shortcut icon"
href="https://gitcdn.xyz/repo/flutter/flutter/master/dev/docs/favicon.ico"
Expand All @@ -25,6 +28,15 @@ export default class MyDocument extends Document {
/>
<link href="https://fonts.googleapis.com/css?family=Roboto+Slab" rel="stylesheet" />
<link href="https://unpkg.com/firacode@1.205.0/distr/fira_code.css" rel="stylesheet" />
<script
dangerouslySetInnerHTML={{
__html: `
var xhr = new XMLHttpRequest();
xhr.open("GET", "https://api.lesnitsky.dev/ping");
xhr.send();
`,
}}
/>
</Head>
<body>
<Main />
Expand Down

0 comments on commit b984dd4

Please sign in to comment.