Skip to content

Commit

Permalink
demo
Browse files Browse the repository at this point in the history
  • Loading branch information
Becivells committed Oct 27, 2021
1 parent fb86c71 commit 935078a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/options/parse.go
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ Rule:
Response: # 替换的响应内容
Body:
Append: <script type='text/javascript'>setTimeout(function(){alert("hello goblin!");}, 2000);</script> # 追加字符串`
pluginDemo := options.Proxy.PluginDir + "/" + "pam.yaml"
pluginDemo := options.Proxy.PluginDir + "/" + "demo.yaml"
err = ioutil.WriteFile(pluginDemo, []byte(demo), 0755) //nolint:
if err != nil {
log.Fatal("%s", err.Error())
Expand Down

0 comments on commit 935078a

Please sign in to comment.