Skip to content

Commit 086815f

Browse files
committed
no message
1 parent def178e commit 086815f

2 files changed

Lines changed: 7 additions & 3 deletions

File tree

Other/AngularTest/README.md

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,8 @@
1-
# Enable CORS in your browser!
1+
This sample uses https://workflowengine.io/demo/Designer/API as a backend.
22

3+
**Make sure that you enable CORS in your browser (!!!)**
34
Chrome: https://chrome.google.com/webstore/detail/allow-control-allow-origi/nlfbmbojpeacfghkpbjhddihlkkiljbi?hl=en
4-
For others: https://www.google.com.ua/search?ei=M28OXO7BDauk_QaC06DABg&q=browser+how+to+enable+CORS&oq=browser+how+to+enable+CORS
5+
For others: https://www.google.com.ua/search?ei=M28OXO7BDauk_QaC06DABg&q=browser+how+to+enable+CORS&oq=browser+how+to+enable+CORS
6+
7+
If you set up your [own backend with DesignerAPI](https://workflowengine.io/documentation/main-terms/designer/#backend), replace apiurl in app.component.ts file.
8+

Other/AngularTest/src/app/app.component.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export class AppComponent {
2626
}
2727

2828
wfdesignerRedraw() {
29-
let data;
29+
let data = undefined;
3030
if (this.wfdesigner != undefined) {
3131
data = this.wfdesigner.data;
3232
this.wfdesigner.destroy();

0 commit comments

Comments
 (0)