File tree 1 file changed +2
-8
lines changed
packages/app-support/limber-ui/addon/src/components
1 file changed +2
-8
lines changed Original file line number Diff line number Diff line change 1
1
import Component from ' @glimmer/component' ;
2
2
import { guidFor } from ' @ember/object/internals' ;
3
3
import { htmlSafe } from ' @ember/template' ;
4
- import { isDevelopingApp , macroCondition } from ' @embroider/macros' ;
5
4
6
5
import { link } from ' reactiveweb/link' ;
7
6
@@ -65,13 +64,8 @@ interface Signature {
65
64
}
66
65
67
66
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' ;
75
69
76
70
const INITIAL_URL = (force ? : boolean ) =>
77
71
` ${HOST }?format=gjs&t=<template ></template > ` + (force ? ` &forceEditor=${force } ` : ' ' );
You can’t perform that action at this time.
0 commit comments