~cytrogen/masto-fe

c541d569cf6b2f4746f12339d6e7111334f2fa17 — tobi 1 year, 4 months ago 7415961
[chore] Use sloth flavour
M public/auth.js => public/auth.js +1 -1
@@ 49,7 49,7 @@ async function registerApp(domain) {
  const protocol = localStorage.getItem(`protocol`) ?? `https://`;
  const appsUrl = `${protocol}${domain}/api/v1/apps`;
  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('scopes', 'read write follow push');


M public/index.html => public/index.html +1 -1
@@ 3,7 3,7 @@
<head>
    <meta charset='utf-8'>
    <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" />

    <meta name="theme-color" content="#282c37" />

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

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

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

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