Skip to content

Commit

Permalink
Remove debugging and console statements
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanfranklin committed Jan 11, 2024
1 parent 59f6188 commit ffa8fe4
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion react/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@
<script>
var hostname = window.location.hostname;
var pathname = window.location.pathname;
debugger
// Set base URL dynamically
if (/^hazmapper.tacc.utexas.edu/.test(hostname) && pathname.startsWith('/staging-react')) {
document.getElementById('base').href = '/staging-react/';
Expand Down
2 changes: 0 additions & 2 deletions react/src/hooks/environment/useAppConfiguration.ts
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,6 @@ export const useAppConfiguration = (): AppConfiguration => {
const hostname = window && window.location && window.location.hostname;
const pathname = window && window.location && window.location.pathname;

console.log("hostname: ", hostname, "pathname", pathname, "basePath", basePath);

const mapillaryConfig: MapillaryConfiguration = {
authUrl: 'https://www.mapillary.com/connect',
tokenUrl: 'https://graph.mapillary.com/token',
Expand Down
2 changes: 0 additions & 2 deletions react/src/hooks/environment/useBasePath.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,6 @@ const useBasePath = (): string => {
const base: string | undefined = paths.find((path) =>
currentPath.startsWith(path)
);
console.log(currentPath);
console.log(base);
return base || '/';
}, []);

Expand Down

0 comments on commit ffa8fe4

Please sign in to comment.