Merge branch 'master' of https://github.com/hoppscotch/hoppscotch into master
|
Before Width: | Height: | Size: 17 KiB After Width: | Height: | Size: 7.4 KiB |
@@ -139,6 +139,8 @@ export default {
|
||||
// Do nothing
|
||||
}
|
||||
} else if (collections.info && collections.info.schema.includes("v2.1.0")) {
|
||||
//replace the variables, postman uses {{var}}, Hoppscotch uses <<var>>
|
||||
collections = JSON.parse(content.replaceAll(/{{([a-z]+)}}/gi, '<<$1>>'))
|
||||
collections = this.parsePostmanCollection(collections)
|
||||
} else {
|
||||
return this.failedImport()
|
||||
|
||||
|
Before Width: | Height: | Size: 52 KiB After Width: | Height: | Size: 43 KiB |
|
Before Width: | Height: | Size: 37 KiB After Width: | Height: | Size: 18 KiB |
BIN
static/icon.png
|
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 20 KiB |
|
Before Width: | Height: | Size: 24 KiB After Width: | Height: | Size: 21 KiB |
|
Before Width: | Height: | Size: 42 KiB After Width: | Height: | Size: 33 KiB |
|
Before Width: | Height: | Size: 277 KiB After Width: | Height: | Size: 124 KiB |
|
Before Width: | Height: | Size: 329 KiB After Width: | Height: | Size: 166 KiB |
BIN
static/logo.png
|
Before Width: | Height: | Size: 27 KiB After Width: | Height: | Size: 20 KiB |