diff --git a/.eslintrc b/.eslintrc index 3350a286..d5a0146c 100644 --- a/.eslintrc +++ b/.eslintrc @@ -9,7 +9,8 @@ }, "ignorePatterns": [ "**/node_modules/**", - "**/dist/**" + "**/dist/**", + "**/static/**" ], "plugins": ["promise", "node"], "rules": { diff --git a/.vscode/launch.json b/.vscode/launch.json index 23cc07b0..7c1fa999 100644 --- a/.vscode/launch.json +++ b/.vscode/launch.json @@ -7,7 +7,7 @@ { "type": "node", "request": "launch", - "name": "Launch", + "name": "Launch Program", "skipFiles": [ "/**" ], diff --git a/package-lock.json b/package-lock.json index 747477d0..ace4b37e 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "cht-user-management", - "version": "1.0.14", + "version": "1.0.15", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "cht-user-management", - "version": "1.0.14", + "version": "1.0.15", "license": "ISC", "dependencies": { "@fastify/autoload": "^5.8.0", diff --git a/package.json b/package.json index 8089d5ce..703b7eb5 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "cht-user-management", - "version": "1.0.14", + "version": "1.0.15", "main": "dist/index.js", "dependencies": { "@fastify/autoload": "^5.8.0", diff --git a/src/lib/retry-logic.ts b/src/lib/retry-logic.ts index 17849357..8c116884 100644 --- a/src/lib/retry-logic.ts +++ b/src/lib/retry-logic.ts @@ -41,7 +41,7 @@ export async function createUserWithRetries(userPayload: UserPayload, chtApi: Ch try { await chtApi.createUser(userPayload); return userPayload; - } catch (err: any) { + } catch (err: any) { if (axiosRetryConfig.retryCondition(err)) { continue; } diff --git a/src/public/app/fragment_home.html b/src/public/app/fragment_home.html index 85cae48b..4af292f8 100644 --- a/src/public/app/fragment_home.html +++ b/src/public/app/fragment_home.html @@ -1,8 +1,13 @@
-
-
- {% include "place/list.html" %} -
+
+ {% include "place/directive.html" %} + {% include "place/list.html" %}
\ No newline at end of file diff --git a/src/public/app/nav.html b/src/public/app/nav.html index b66acffc..533ef2d8 100644 --- a/src/public/app/nav.html +++ b/src/public/app/nav.html @@ -66,18 +66,12 @@