Intranet penetration, your own computer as the server can allow anyone to visit your website (free).

Intranet penetration can be accessed by everyone as long as you open the service yourself, it can be said to be a temporary server, not based on the intranet
 address: https://natapp.cn/

Register for free

 

download penetration

After login free tunnel click

It is useful to replace the new file after copying the clienttoken

 

Download complete and unzip

 Create the config.ini file

   Create a new config.ini file and write the code in it authtoken is generated for free by you, replace it

#将本文件放置于natapp同级目录 程序将读取 [default] 段
#在命令行参数模式如 natapp -authtoken=xxx 等相同参数将会覆盖掉此配置
#命令行参数 -config= 可以指定任意config.ini文件
[default]
authtoken=  09c07b65f011                    #对应一条隧道的authtoken
clienttoken=                    #对应客户端的clienttoken,将会忽略authtoken,若无请留空,
log=none                        #log 日志文件,可指定本地文件, none=不做记录,stdout=直接屏幕输出 ,默认为none
loglevel=ERROR                  #日志等级 DEBUG, INFO, WARNING, ERROR 默认为 DEBUG
http_proxy=                     #代理设置 如 http://10.123.10.10:3128 非代理上网用户请务必留空

 Open the decompressed software

your vue project configuration 

- In the vue.config.js folder, write the same path as the demo path above

- Restart the project after vue.config.js is modified

 devServer: {
    port: 80, // 端口
    allowedHosts: 'all' // 为 all
  }

szh

Guess you like

Origin blog.csdn.net/qq_54753561/article/details/123355750