add defConfig value

This commit is contained in:
Jay 2017-09-14 17:35:45 +08:00
parent 0537f04f5e
commit f8cc35a3cd

View File

@ -31,7 +31,7 @@
<h3 class="ui dividing header">WebAPI設定</h3>
<div class="field">
<label for="api-secret">API密鑰</label>
<input type="text" name="api-secret" placeholder="請輸入密鑰,空白不設定" id="api-secret">
<input type="text" name="api-secret" value="<%= defConfig.api.secret %>" placeholder="請輸入密鑰,空白不設定" id="api-secret">
</div>
<div style="margin-top: 40px; text-align: right;">