create-catalyst-app-internal 0.0.1-beta.10 → 0.0.1-beta.11

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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "create-catalyst-app-internal",
3
3
  "bin": "scripts/cli.cjs",
4
- "version": "0.0.1-beta.10",
4
+ "version": "0.0.1-beta.11",
5
5
  "description": "cli package to scaffold Catalyst application",
6
6
  "main": "index.js",
7
7
  "scripts": {
@@ -24,4 +24,4 @@ const apiInstance = () => {
24
24
  put: fetchFunction,
25
25
  }
26
26
  }
27
- export default { apiInstance }
27
+ export default apiInstance
@@ -5,9 +5,8 @@
5
5
  "WEBPACK_DEV_SERVER_PORT": 3006,
6
6
  "BUILD_OUTPUT_PATH": "build",
7
7
  "PUBLIC_STATIC_ASSET_PATH": "/assets/",
8
- "PUBLIC_STATIC_ASSET_URL": "http://localhost:3006",
8
+ "PUBLIC_STATIC_ASSET_URL": "http://localhost:3005",
9
9
  "NODE_ENV": "development",
10
- "BUILD_ENV": "localBuild",
11
10
  "API_URL": "",
12
11
  "ANALYZE_BUNDLE": false,
13
12
  "CLIENT_ENV_VARIABLES": [
Binary file
@@ -1 +1,8 @@
1
- export function addMiddlewares() {}
1
+ const express = require('express');
2
+ const path = require('path');
3
+
4
+ export function addMiddlewares(app) {
5
+
6
+ app.use('/favicon.ico', express.static(path.join(__dirname, '../favicon.ico')));
7
+
8
+ }