-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
32 lines (30 loc) · 954 Bytes
/
index.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
<!DOCTYPE html>
<html>
<head>
<style>
html, body, iframe { height: 100%; padding: 0; margin: 0; overflow: hidden; }
iframe { width: 100%; padding: 0; border: 0; }
</style>
<title>info-beamer - Photopea Image Editor integration</title>
</head>
<body>
<iframe id='mainframe' referrerpolicy="no-referrer"></iframe>
<script>
let service = "https://info-beamer.com"
window.CONFIG = {
// Hosted backend config
api_root: `${service}/api/v1/`,
web_root: service,
// App config
app_root: location.pathname,
// OAuth
client_id: "3c8b9bf8f2bf4da48754cccb51c9e102",
redirect_uri: window.location.origin + '/',
authorization_endpoint: `${service}/oauth/authorize`,
token_endpoint: `${service}/oauth/token`,
requested_scopes: "asset:read asset:modify",
}
</script>
<script src="app.js"></script>
</body>
</html>