Skip to content

Commit cd0f552

Browse files
committed
Revert attempt to make things nice, because it breaks testing
1 parent ee3299b commit cd0f552

File tree

1 file changed

+2
-8
lines changed
  • packages/app-support/limber-ui/addon/src/components

1 file changed

+2
-8
lines changed

packages/app-support/limber-ui/addon/src/components/code.gts

+2-8
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
import Component from '@glimmer/component';
22
import { guidFor } from '@ember/object/internals';
33
import { htmlSafe } from '@ember/template';
4-
import { isDevelopingApp, macroCondition } from '@embroider/macros';
54

65
import { link } from 'reactiveweb/link';
76

@@ -65,13 +64,8 @@ interface Signature {
6564
}
6665

6766
const DEFAULT_NUMBER_OF_LINES = 7;
68-
const PROD = 'https://limber.glimdown.com/edit';
69-
let HOST = PROD;
70-
71-
// TODO: if localhost isn't running, fallback to live production
72-
if (macroCondition(isDevelopingApp())) {
73-
HOST = 'http://localhost:4201/edit';
74-
}
67+
// TODO: allow import.meta.env to override this
68+
const HOST = 'https://limber.glimdown.com/edit';
7569

7670
const INITIAL_URL = (force?: boolean) =>
7771
`${HOST}?format=gjs&t=<template></template>` + (force ? `&forceEditor=${force}` : '');

0 commit comments

Comments
 (0)