mirror of
https://github.com/MetaCubeX/metacubexd.git
synced 2024-11-13 06:05:34 +08:00
feat: optimize setup form (#960)
This commit is contained in:
parent
ad8dee32e9
commit
00ab6d4645
@ -152,12 +152,15 @@ export default () => {
|
||||
name="url"
|
||||
type="url"
|
||||
class="input input-bordered w-full"
|
||||
placeholder="http://127.0.0.1:9090"
|
||||
placeholder="http(s)://{hostname}:{port}"
|
||||
list="defaultEndpoints"
|
||||
/>
|
||||
|
||||
<datalist id="defaultEndpoints">
|
||||
<option value="http://127.0.0.1:9090" />
|
||||
<Show when={window.location.origin !== 'http://127.0.0.1:9090'}>
|
||||
<option value={window.location.origin} />
|
||||
</Show>
|
||||
</datalist>
|
||||
</div>
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user