mirror of
https://github.com/ViaVersion/VIAaaS.git
synced 2025-01-24 22:01:49 +01:00
add manifest.json
This commit is contained in:
parent
7aed7f7a85
commit
708b7fe7ae
@ -13,6 +13,7 @@
|
||||
<meta content="https://cdn.discordapp.com/attachments/698483428915675186/821487447664885770/unknown.png"
|
||||
property="og:image">
|
||||
<link href="https://cdn.discordapp.com/attachments/698483428915675186/821487447664885770/unknown.png" rel="icon">
|
||||
<link rel="manifest" href="manifest.json">
|
||||
<meta content="default-src 'self';
|
||||
style-src https://cdnjs.cloudflare.com/ 'self';
|
||||
img-src data: https://cdn.discordapp.com/ https://crafthead.net/ https://crafatar.com/;
|
||||
|
@ -4,7 +4,8 @@ var listening = document.getElementById("listening");
|
||||
var actions = document.getElementById("actions");
|
||||
var accounts = document.getElementById("accounts-list");
|
||||
var listenVisible = false;
|
||||
var workers = new Array(navigator.hardwareConcurrency).fill(null).map(() => new Worker("js/worker.js"));
|
||||
var workers = [];
|
||||
$(() => workers = new Array(navigator.hardwareConcurrency).fill(null).map(() => new Worker("js/worker.js")));
|
||||
|
||||
// On load
|
||||
$(() => {
|
||||
|
16
src/main/resources/web/manifest.json
Normal file
16
src/main/resources/web/manifest.json
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
"short_name": "VIAaaS",
|
||||
"name": "VIAaaS - ViaVersion as a Service",
|
||||
"icons": [{
|
||||
"src": "https://cdn.discordapp.com/attachments/698483428915675186/821487447664885770/unknown.png",
|
||||
"sizes": "128x128",
|
||||
"type": "image/png"
|
||||
}],
|
||||
"start_url": ".",
|
||||
"background_color": "#3367D6",
|
||||
"display": "standalone",
|
||||
"theme_color": "#0468a1",
|
||||
"shortcuts": [],
|
||||
"description": "VIAaaS - Standalone ViaVersion Proxy",
|
||||
"screenshots": []
|
||||
}
|
Loading…
Reference in New Issue
Block a user