aboutsummaryrefslogtreecommitdiffstats
path: root/android
diff options
context:
space:
mode:
Diffstat (limited to 'android')
-rw-r--r--android/app/build.gradle4
-rw-r--r--android/app/src/webview/java/io/coinos/app/Assets.java2
2 files changed, 3 insertions, 3 deletions
diff --git a/android/app/build.gradle b/android/app/build.gradle
index 928f12d..3dc6caf 100644
--- a/android/app/build.gradle
+++ b/android/app/build.gradle
@@ -9,14 +9,14 @@ if (keystoreFile.exists()) keystoreProps.load(new FileInputStream(keystoreFile))
def signRelease = keystoreFile.exists() && System.getenv('COINOS_UNSIGNED') == null
// The bundled shell carries the built web app as assets. It is copied from
-// ../dist, which the web build produces first: HAL_NO_SW=1 bun run build
+// ../dist, which the web build produces first: COINOS_NO_SW=1 bun run build
// (the service worker is left out — inside the WebView the app is served
// from these assets, and a worker would fetch the live site over it).
tasks.register('copyWeb', Copy) {
def dist = rootProject.file('../dist') // the repo root's dist, not the module's
doFirst {
if (!new File(dist, 'index.html').exists())
- throw new GradleException('build the web app first: HAL_NO_SW=1 bun run build (in the repo root)')
+ throw new GradleException('build the web app first: COINOS_NO_SW=1 bun run build (in the repo root)')
}
from(dist) { exclude '*.apk', 'standalone.html', 'sw.js', 'zmq-watcher.js' }
into layout.buildDirectory.dir('www')
diff --git a/android/app/src/webview/java/io/coinos/app/Assets.java b/android/app/src/webview/java/io/coinos/app/Assets.java
index b946500..9e4f909 100644
--- a/android/app/src/webview/java/io/coinos/app/Assets.java
+++ b/android/app/src/webview/java/io/coinos/app/Assets.java
@@ -32,7 +32,7 @@ final class Assets {
private Assets() {}
static final String HOST = "v3.coinos.io";
- private static final String[] LIVE = { "/electrum", "/esplora/", "/sp/", "/lnurlp/", "/.well-known/", "/api/" };
+ private static final String[] LIVE = { "/electrum", "/esplora/", "/lnurlp/", "/.well-known/", "/api/" };
private static final Map<String, String> MIME = new HashMap<>();
static {
MIME.put("html", "text/html");