5c6ae5c290
- `gp-server setup` subcommand (manual argv branch, no clap): the five-question
flow (till URL, shop URL, seed generate-or-paste, currencies, grin1 toggle),
auto-generates all secrets, creates the encrypted wallet, probes the curated
node list with fallback, writes /etc/goblinpay.env (0640) + the 0400
wallet-password credential, and prints the WooCommerce paste block plus a
reverse-proxy hint. Re-run safe (--reconfigure keeps the existing seed and
password); non-TTY prints guidance unless --batch. Flags: --reconfigure,
--prefix, --node, --batch. Tested against a temp dir with the dev seed.
- Path-prefix hosting: the till URL now accepts either a subdomain OR a
reverse-proxied path on the shop's existing domain (zero new DNS records).
The pay/result/landing/admin pages emit a {base}-prefixed asset/link path
derived from GP_PUBLIC_URL, so a prefix-stripping proxy lines up with the
app's root routes. manual_slatepack refactored to build its result once.
13 lines
312 B
HTML
13 lines
312 B
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<title>{% block title %}GoblinPay{% endblock %}</title>
|
|
<link rel="stylesheet" href="{{ base }}/static/style.css">
|
|
</head>
|
|
<body>
|
|
{% block content %}{% endblock %}
|
|
</body>
|
|
</html>
|