Skip to content

Commit

Permalink
test with kedro-org.github
Browse files Browse the repository at this point in the history
  • Loading branch information
rashidakanchwala committed Aug 8, 2024
1 parent 1ade5ca commit 2875a58
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion src/utils/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,13 @@ export const formatNumberWithCommas = (number) => {
* @returns {Boolean} True if the app is running locally.
*/
export const isRunningLocally = () => {
const hosts = ['localhost', '127.0.0.1', 'demo.kedro.org', 'gitpod'];
const hosts = [
'localhost',
'127.0.0.1',
'demo.kedro.org',
'gitpod',
'kedro-org',
];
const itemFound = hosts.some((host) =>
window.location.hostname.includes(host)
);
Expand Down

0 comments on commit 2875a58

Please sign in to comment.