fix:修正校验文件写入命令
This commit is contained in:
@@ -49,7 +49,7 @@
|
|||||||
<div>
|
<div>
|
||||||
<!--For security reasons you need to authenticate for the installation by creating the file-->{{$t('setup.welcome.creatFile')}} '/opt/nezha/nz-web/tmp/nezha.auth'.<br/><!--This can be done by executing the following command-->{{$t('setup.welcome.createFileTip')}}:
|
<!--For security reasons you need to authenticate for the installation by creating the file-->{{$t('setup.welcome.creatFile')}} '/opt/nezha/nz-web/tmp/nezha.auth'.<br/><!--This can be done by executing the following command-->{{$t('setup.welcome.createFileTip')}}:
|
||||||
</div>
|
</div>
|
||||||
<pre>echo -n {{validateCode}} /opt/nezha/nz-web/tmp/nezha.auth</pre>
|
<pre>echo -n {{validateCode}} > /opt/nezha/nz-web/tmp/nezha.auth</pre>
|
||||||
<div><!--Click the 'Next' button when you've finished.-->{{$t('setup.welcome.next')}}</div>
|
<div><!--Click the 'Next' button when you've finished.-->{{$t('setup.welcome.next')}}</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -167,8 +167,8 @@
|
|||||||
return{
|
return{
|
||||||
validateCode:"",
|
validateCode:"",
|
||||||
language:"en",
|
language:"en",
|
||||||
step:3,
|
step:0,
|
||||||
activeStep:3,
|
activeStep:0,
|
||||||
database:{
|
database:{
|
||||||
host:"",
|
host:"",
|
||||||
port:3306,
|
port:3306,
|
||||||
|
|||||||
Reference in New Issue
Block a user