mirror of
https://github.com/RoboSats/robosats.git
synced 2025-01-18 20:21:35 +00:00
Fix changes
This commit is contained in:
parent
bfda0e93be
commit
87e5712262
13
.gitignore
vendored
13
.gitignore
vendored
@ -634,6 +634,7 @@ frontend/static/assets/avatars*
|
||||
api/lightning/*_grpc.py
|
||||
api/lightning/*_pb2.py
|
||||
api/lightning/pymp*
|
||||
api/lightning/pip*
|
||||
frontend/static/locales/collected_phrases.json
|
||||
frontend/static/admin*
|
||||
frontend/static/rest_framework*
|
||||
@ -648,15 +649,15 @@ node
|
||||
|
||||
# frontend statics
|
||||
mobile/html/Web.bundle/static/*
|
||||
# mobile/html/Web.bundle/index.html
|
||||
mobile/html/Web.bundle/index.html
|
||||
desktopApp/static/*
|
||||
# desktopApp/index.html
|
||||
desktopApp/index.html
|
||||
web/static/*
|
||||
# web/basic.html
|
||||
# web/pro.html
|
||||
web/basic.html
|
||||
web/pro.html
|
||||
nodeapp/static/*
|
||||
# nodeapp/basic.html
|
||||
# nodeapp/pro.html
|
||||
nodeapp/basic.html
|
||||
nodeapp/pro.html
|
||||
|
||||
# Protocol Buffers
|
||||
api/lightning/*.proto
|
||||
|
@ -4,8 +4,8 @@ import SelfhostedAlert from './SelfhostedAlert';
|
||||
import UnsafeAlert from './UnsafeAlert';
|
||||
|
||||
const HostAlert = (): JSX.Element => {
|
||||
const { settings } = useContext<UseAppStoreType>(AppContext);
|
||||
const component = settings.selfhostedClient ? SelfhostedAlert : UnsafeAlert;
|
||||
const { client } = useContext<UseAppStoreType>(AppContext);
|
||||
const component = client === 'selfhosted' || client === 'desktop' ? SelfhostedAlert : UnsafeAlert;
|
||||
return component();
|
||||
};
|
||||
|
||||
|
@ -1,10 +1,10 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<link rel="shortcut icon" href="/static/assets/images/favicon-96x96.png" />
|
||||
<link rel="icon" type="image/png" href="/static/assets/images/favicon-32x32.png" sizes="32x32">
|
||||
<link rel="icon" type="image/png" href="/static/assets/images/favicon-96x96.png" sizes="96x96">
|
||||
<link rel="icon" type="image/png" href="/static/assets/images/favicon-192x192.png" sizes="192x192">
|
||||
<link rel="shortcut icon" href="./static/assets/images/favicon-96x96.png" />
|
||||
<link rel="icon" type="image/png" href="./static/assets/images/favicon-32x32.png" sizes="32x32">
|
||||
<link rel="icon" type="image/png" href="./static/assets/images/favicon-96x96.png" sizes="96x96">
|
||||
<link rel="icon" type="image/png" href="./static/assets/images/favicon-192x192.png" sizes="192x192">
|
||||
|
||||
<meta charset="UTF-8" />
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
||||
@ -12,10 +12,10 @@
|
||||
|
||||
<title>RoboSats - Simple and Private Bitcoin Exchange</title>
|
||||
|
||||
<link rel="stylesheet" href="/static/css/fonts.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="/static/css/loader.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="/static/css/index.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="/static/css/leaflet.css"/>
|
||||
<link rel="stylesheet" href="./static/css/fonts.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="./static/css/loader.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="./static/css/index.css"/>
|
||||
<link rel="stylesheet" type="text/css" href="./static/css/leaflet.css"/>
|
||||
</head>
|
||||
<body>
|
||||
<noscript>
|
||||
|
@ -32,7 +32,7 @@ const configNode: Configuration = {
|
||||
path: path.resolve(__dirname, 'static/frontend'),
|
||||
filename: `main.v${version}.[contenthash].js`,
|
||||
clean: true,
|
||||
publicPath: '/static/frontend/',
|
||||
publicPath: './static/frontend/',
|
||||
},
|
||||
plugins: [
|
||||
new HtmlWebpackPlugin({
|
||||
@ -84,7 +84,7 @@ const configDesktop: Configuration = {
|
||||
path: path.resolve(__dirname, '../desktopApp/static/frontend'),
|
||||
filename: `main.v${version}.[contenthash].js`,
|
||||
clean: true,
|
||||
publicPath: '/static/frontend/',
|
||||
publicPath: './static/frontend/',
|
||||
},
|
||||
plugins: [
|
||||
new HtmlWebpackPlugin({
|
||||
@ -171,7 +171,7 @@ const configMobile: Configuration = {
|
||||
path: path.resolve(__dirname, '../mobile/html/Web.bundle/static/frontend'),
|
||||
filename: `main.v${version}.[contenthash].js`,
|
||||
clean: true,
|
||||
publicPath: '/static/frontend/',
|
||||
publicPath: './static/frontend/',
|
||||
},
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user