@zenuml/core 2.0.17 → 2.0.19

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,20 +0,0 @@
1
- # Error message: Invalid Host header
2
-
3
- It appears when we expose http://localhost:8080 as https://air.zenuml.com via Cloudflare
4
- tunnels. We see this error on Chrome, Safari and Firefox.
5
-
6
- ## Where is this from?
7
-
8
- It only happens when the site is served via `yarn start` and not when we serve it via
9
- `http-server dist`. So it is most likely a configuration with the dev server.
10
-
11
- ## Solution
12
-
13
- According to [this answer on StackOverflow](https://stackoverflow.com/a/43647767/529187),
14
- we can add the following to `vue.config.js`:
15
-
16
- ```js
17
- devServer: {
18
- allowedHosts: ["air.zenuml.com"]
19
- }
20
- ```
@@ -1,53 +0,0 @@
1
- const config = require('./vue.config')
2
- describe('vue.config.js', function () {
3
- it('should get pages', () => {
4
- const expectedPages = {
5
- "cy/smoke-creation.html": {
6
- "entry": "src/main.ts",
7
- "filename": "cy/smoke-creation.html",
8
- "template": "public/cy/smoke-creation.html"
9
- },
10
- "cy/smoke-fragment-issue.html": {
11
- "entry": "src/main.ts",
12
- "filename": "cy/smoke-fragment-issue.html",
13
- "template": "public/cy/smoke-fragment-issue.html"
14
- },
15
- "cy/smoke-fragment.html": {
16
- "entry": "src/main.ts",
17
- "filename": "cy/smoke-fragment.html",
18
- "template": "public/cy/smoke-fragment.html"
19
- },
20
- "cy/smoke-interaction.html": {
21
- "entry": "src/main.ts",
22
- "filename": "cy/smoke-interaction.html",
23
- "template": "public/cy/smoke-interaction.html"
24
- },
25
- "cy/smoke-return.html": {
26
- "entry": "src/main.ts",
27
- "filename": "cy/smoke-return.html",
28
- "template": "public/cy/smoke-return.html"
29
- },
30
- "cy/smoke.html": {
31
- "entry": "src/main.ts",
32
- "filename": "cy/smoke.html",
33
- "template": "public/cy/smoke.html"
34
- },
35
- "embed-container-demo.html": {
36
- "entry": "src/main.ts",
37
- "filename": "embed-container-demo.html",
38
- "template": "public/embed-container-demo.html"
39
- },
40
- "embed.html": {
41
- "entry": "src/main.ts",
42
- "filename": "embed.html",
43
- "template": "public/embed.html"
44
- },
45
- "index.html": {
46
- "entry": "src/main.ts",
47
- "filename": "index.html",
48
- "template": "public/index.html"
49
- }
50
- };
51
- expect(config.pages).toEqual(expectedPages)
52
- })
53
- });