Skip to content

Commit

Permalink
chore: prettier formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
pmelab committed Apr 17, 2024
1 parent 0ecf9d5 commit 0abbe64
Show file tree
Hide file tree
Showing 3 changed files with 15 additions and 15 deletions.
24 changes: 11 additions & 13 deletions apps/preview/index.html
Original file line number Diff line number Diff line change
@@ -1,16 +1,14 @@
<!doctype html>
<html lang="en">
<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Preview</title>
<script src="/endpoint.js"></script>
</head>

<head>
<meta charset="UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Preview</title>
<script src="/endpoint.js"></script>
</head>

<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>

</html>
<body>
<div id="root"></div>
<script type="module" src="/src/main.tsx"></script>
</body>
</html>
4 changes: 3 additions & 1 deletion apps/preview/server/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,9 @@ const updates$ = new Subject();

app.get('/endpoint.js', (_, res) => {
res.send(
`window.GRAPHQL_ENDPOINT = "${process.env.DRUPAL_URL || 'http://localhost:8888'}/graphql";`,
`window.GRAPHQL_ENDPOINT = "${
process.env.DRUPAL_URL || 'http://localhost:8888'
}/graphql";`,
);
});

Expand Down
2 changes: 1 addition & 1 deletion packages/schema/src/schema.graphql
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ type Hero {
}

union PageContent @resolveEditorBlockType =
BlockMarkup
| BlockMarkup
| BlockMedia
| BlockForm
| BlockImageTeasers
Expand Down

0 comments on commit 0abbe64

Please sign in to comment.