Skip to content

Open-Source API Development Ecosystem • https://hoppscotch.io • Offline, On-Prem & Cloud • Web, Desktop & CLI • Open-Source Alternative to Postman, Insomnia

Added placeholder pre-request script value

Andrew Bastinc4116d6819ea
diff --git a/pages/index.vue b/pages/index.vue
index 1d372da8f..4e0f00ea1 100644
--- a/pages/index.vue
+++ b/pages/index.vue
@@ -870,7 +870,7 @@ export default {
return {
showModal: false,
showPreRequestScript: false,
- preRequestScript: "",
+ preRequestScript: "// pw.env.set('variable', 'value');",
copyButton: '<i class="material-icons">file_copy</i>',
downloadButton: '<i class="material-icons">get_app</i>',
doneButton: '<i class="material-icons">done</i>',