Skip to content

Commit

Permalink
push
Browse files Browse the repository at this point in the history
  • Loading branch information
luiguild committed Oct 9, 2024
1 parent 181bd32 commit f65ff22
Showing 1 changed file with 13 additions and 11 deletions.
24 changes: 13 additions & 11 deletions functions/hello-world/index.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,20 @@
import { BasedAppFunction } from '@based/functions';

const app: BasedAppFunction = async (_based) => {
return '<!DOCTYPE html>' +
return (
'<!DOCTYPE html>' +
'<html lang="en">' +
'<head>' +
'<meta charset="utf-8" />' +
'<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, minimum-scale=1.0, viewport-fit=cover" />' +
'<meta name="title" content="Hello World" />' +
'<title>Hello World</title>' +
'</head>' +
'<body style="margin: 0;">' +
`<div id="root">Hello World from the branch main in Based.io!</div>` +
'</body>' +
'</html>';
'<head>' +
'<meta charset="utf-8" />' +
'<meta name="viewport" content="width=device-width, height=device-height, initial-scale=1.0, minimum-scale=1.0, viewport-fit=cover" />' +
'<meta name="title" content="Hello World" />' +
'<title>Hello World</title>' +
'</head>' +
'<body style="margin: 0;">' +
`<div id="root">Hello World from the branch main 2 in Based.io!</div>` +
'</body>' +
'</html>'
);
};

export default app;

0 comments on commit f65ff22

Please sign in to comment.