diff --git a/Apps/CesiumViewer/CesiumViewer.js b/Apps/CesiumViewer/CesiumViewer.js index ea6b571be395..3a07da944985 100644 --- a/Apps/CesiumViewer/CesiumViewer.js +++ b/Apps/CesiumViewer/CesiumViewer.js @@ -125,7 +125,7 @@ async function main() { sourceType = "geojson"; } else if (/\.kml$/i.test(source) || /\.kmz$/i.test(source)) { sourceType = "kml"; - } else if (/\.gpx$/i.test(source) || /\.gpx$/i.test(source)) { + } else if (/\.gpx$/i.test(source)) { sourceType = "gpx"; } } diff --git a/CONTRIBUTORS.md b/CONTRIBUTORS.md index 98dcfc400a21..5ffba76b8eba 100644 --- a/CONTRIBUTORS.md +++ b/CONTRIBUTORS.md @@ -404,3 +404,4 @@ See [CONTRIBUTING.md](CONTRIBUTING.md) for details on how to contribute to Cesiu - [Vladislav Yunev](https://github.com/YunVlad) - [Levi Montgomery](https://github.com/Levi-Montgomery) - [Brandon Berisford](https://github.com/BeyondBelief96) +- [Adam Wirth](https://https://github.com/adamwirth)