mirror of
https://github.com/lnbits/lnbits.git
synced 2025-10-04 18:33:10 +02:00
feat: add baseurl to admin ui settings (#2644)
* feat: add baseurl to admin ui settings server tab with a hint that it is currently not used. i ran into an issue developing an extension where i needed to know the url inside a task, where i cannot pass the `Request` object. so i depend on `settings.lnbits_baseurl` there
This commit is contained in:
@@ -1,24 +1,19 @@
|
|||||||
<q-tab-panel name="server">
|
<q-tab-panel name="server">
|
||||||
<q-card-section class="q-pa-none">
|
<q-card-section class="q-pa-none">
|
||||||
<h6 class="q-my-none">Server Management</h6>
|
<h6 class="q-my-none">Server Management</h6>
|
||||||
<br />
|
|
||||||
<div>
|
<div>
|
||||||
<div class="row">
|
<div class="row">
|
||||||
<div class="col">
|
<div class="col-md-6">
|
||||||
<p>Server Info</p>
|
<p>Base URL</p>
|
||||||
<ul>
|
<q-input
|
||||||
<li
|
filled
|
||||||
v-if="settings.lnbits_data_folder"
|
v-model.number="formData.lnbits_baseurl"
|
||||||
v-text="'SQlite: ' + settings.lnbits_data_folder"
|
label="Static/Base url for the server"
|
||||||
></li>
|
></q-input>
|
||||||
<li
|
|
||||||
v-if="settings.lnbits_database_url"
|
|
||||||
v-text="'Postgres: ' + settings.lnbits_database_url"
|
|
||||||
></li>
|
|
||||||
</ul>
|
|
||||||
<br />
|
<br />
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<h6 class="q-my-none">Currency Settings</h6>
|
||||||
<div class="row q-col-gutter-md">
|
<div class="row q-col-gutter-md">
|
||||||
<div class="col-12 col-md-6">
|
<div class="col-12 col-md-6">
|
||||||
<p>Allowed currencies</p>
|
<p>Allowed currencies</p>
|
||||||
|
Reference in New Issue
Block a user