Skip to content

Commit a7cabdd

Browse files
authored
Merge pull request #376 from spalger/expand-forward-host-size
expand the maximum size of the forward_host
2 parents 1716747 + 3af560c commit a7cabdd

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

backend/schema/endpoints/proxy-hosts.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@
2525
"forward_host": {
2626
"type": "string",
2727
"minLength": 1,
28-
"maxLength": 50
28+
"maxLength": 255
2929
},
3030
"forward_port": {
3131
"type": "integer",

frontend/js/app/nginx/proxy/form.ejs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@
4444
<div class="col-sm-5 col-md-5">
4545
<div class="form-group">
4646
<label class="form-label"><%- i18n('proxy-hosts', 'forward-host') %><span class="form-required">*</span></label>
47-
<input type="text" name="forward_host" class="form-control text-monospace" placeholder="" value="<%- forward_host %>" autocomplete="off" maxlength="50" required>
47+
<input type="text" name="forward_host" class="form-control text-monospace" placeholder="" value="<%- forward_host %>" autocomplete="off" maxlength="255" required>
4848
</div>
4949
</div>
5050
<div class="col-sm-4 col-md-4">

0 commit comments

Comments
 (0)