Skip to content

Commit

Permalink
Organizing files
Browse files Browse the repository at this point in the history
  • Loading branch information
arnasbr committed May 7, 2024
1 parent f94433c commit c6386ec
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,8 @@ https://k6.io/docs/using-k6/metrics/
### Supported Countries
- Supported locations for normal requests are listed in the `locations_data.json` file.
- Supported locations for proto requests are listed in the `proto_locations_data.json` file.
- Supported locations for normal requests are listed in the `locations/locations_data.json` file.
- Supported locations for proto requests are listed in the `locations/proto_locations_data.json` file.
If you want to add a new location, simply append the json files.
Expand Down
File renamed without changes.
File renamed without changes.
4 changes: 2 additions & 2 deletions scripts/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -61,8 +61,8 @@ export function getProtoCountryCoordinates (location) {
return protoCountries[location]
}

export const countries = JSON.parse(open('../locations_data.json'))
export const protoCountries = JSON.parse(open('../proto_locations_data.json'))
export const countries = JSON.parse(open('../locations/locations_data.json'))
export const protoCountries = JSON.parse(open('../locations/proto_locations_data.json'))

function randomInRange (min, max) {
return Math.random() * (max - min) + min
Expand Down

0 comments on commit c6386ec

Please sign in to comment.