diff --git a/app/components/ClientSampleCode.tsx b/app/components/ClientSampleCode.tsx index 0681c3b5a..b993206f7 100644 --- a/app/components/ClientSampleCode.tsx +++ b/app/components/ClientSampleCode.tsx @@ -16,8 +16,8 @@ export function useDomain() { if (hostname === 'gcn.nasa.gov') { return null - } else if (hostname?.endsWith('gcn.nasa.gov')) { - return hostname + } else if (hostname === 'dev.gcn.nasa.gov') { + return 'dev.gcn.nasa.gov' } else { return 'test.gcn.nasa.gov' }