aboutsummaryrefslogtreecommitdiffstats
path: root/src/server/resources/views/index.edge
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/resources/views/index.edge')
-rw-r--r--src/server/resources/views/index.edge32
1 files changed, 0 insertions, 32 deletions
diff --git a/src/server/resources/views/index.edge b/src/server/resources/views/index.edge
deleted file mode 100644
index 3e0198a09..000000000
--- a/src/server/resources/views/index.edge
+++ /dev/null
@@ -1,32 +0,0 @@
1@layout('layouts.main')
2
3@section('content')
4<style>
5 ol,
6 p {
7 margin: 0.5rem 0;
8 }
9
10</style>
11<h1>Internal Ferdi Server</h1>
12<p>You are accessing the local server instance of your Ferdi application. This server is used to enable Ferdi's "Use without an Account" feature.</p>
13<p>
14 To use this server in your Ferdi client, <a href="ferdi://settings/app">open Ferdi's settings</a> and as the
15 <code>server</code>, enter <code id="server"></code>
16</p>
17<p>
18 Alternatively, you can <a href="/import">import your Franz account</a>.
19</p>
20
21<script>
22 // Get server URL for current location
23 let server = location.href.replace('/index.html', '');
24 if (server[server.length - 1] == '/') {
25 server = server.substr(0, server.length - 1)
26 }
27
28 // Show on page
29 document.getElementById('server').innerText = server;
30
31</script>
32@endsection