[chore] Use sloth flavour

This commit is contained in:
tobi
2024-12-19 14:28:35 +01:00
parent 7415961063
commit c541d569cf
6 changed files with 7 additions and 7 deletions

View File

@@ -49,7 +49,7 @@ async function registerApp(domain) {
const protocol = localStorage.getItem(`protocol`) ?? `https://`; const protocol = localStorage.getItem(`protocol`) ?? `https://`;
const appsUrl = `${protocol}${domain}/api/v1/apps`; const appsUrl = `${protocol}${domain}/api/v1/apps`;
const formData = new FormData(); const formData = new FormData();
formData.append('client_name', 'Masto-FE standalone'); formData.append('client_name', 'Masto-FE (🦥 flavour)');
formData.append('redirect_uris', document.location.origin + document.location.pathname); formData.append('redirect_uris', document.location.origin + document.location.pathname);
formData.append('scopes', 'read write follow push'); formData.append('scopes', 'read write follow push');

View File

@@ -3,7 +3,7 @@
<head> <head>
<meta charset='utf-8'> <meta charset='utf-8'>
<meta content='width=device-width, initial-scale=1' name='viewport'> <meta content='width=device-width, initial-scale=1' name='viewport'>
<title>Masto-FE standalone</title> <title>Masto-FE (🦥 flavour)</title>
<link rel="manifest" type="applicaton/manifest+json" href="/manifest.json" /> <link rel="manifest" type="applicaton/manifest+json" href="/manifest.json" />
<meta name="theme-color" content="#282c37" /> <meta name="theme-color" content="#282c37" />

View File

@@ -2,7 +2,7 @@
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<title>Login | Masto-FE standalone</title> <title>Login | Masto-FE (🦥 flavour)</title>
<script src="/auth.js"></script> <script src="/auth.js"></script>
</head> </head>
<body> <body>

View File

@@ -2,7 +2,7 @@
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<title>Logout | Masto-FE standalone</title> <title>Logout | Masto-FE (🦥 flavour)</title>
<script> <script>
localStorage.clear(); localStorage.clear();
window.location.href = "/login.html"; window.location.href = "/login.html";

View File

@@ -1,9 +1,9 @@
{ {
"background_color": "#191b22", "background_color": "#191b22",
"categories": ["social"], "categories": ["social"],
"description": "Masto-FE standalone", "description": "Masto-FE (🦥 flavour)",
"display": "standalone", "display": "standalone",
"name": "Masto-FE standalone", "name": "Masto-FE (🦥 flavour)",
"serviceworker": { "serviceworker": {
"src": "/sw.js" "src": "/sw.js"
}, },

View File

@@ -2,7 +2,7 @@
<html lang="en"> <html lang="en">
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<title>Login | Masto-FE standalone</title> <title>Login | Masto-FE (🦥 flavour)</title>
<script src="/verify-state.js"></script> <script src="/verify-state.js"></script>
</head> </head>
<body> <body>