Skip to content

Commit 5a49f58

Browse files
authored
Merge pull request #42 from jordanopensource/development
Release v1.1.1 of Aman Raqami
2 parents 7cb313c + 3f8aa0d commit 5a49f58

File tree

5 files changed

+13482
-13
lines changed

5 files changed

+13482
-13
lines changed

.gitignore

+3
Original file line numberDiff line numberDiff line change
@@ -88,3 +88,6 @@ sw.*
8888

8989
# Vim swap files
9090
*.swp
91+
92+
# VSCode Configuration
93+
.vscode

nuxt.config.js

+12-4
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@ export default {
1414
{ rel: 'icon', type: 'image/x-icon', href: '/favicon.ico' },
1515
{ rel: 'stylesheet', href: 'https://cdn.jsdelivr.net/npm/[email protected]/fonts/remixicon.css' },
1616
],
17-
script:[
17+
script: [
1818
{
19-
src:"https://code.jquery.com/jquery-2.1.4.min.js",
19+
src: "https://code.jquery.com/jquery-2.1.4.min.js",
2020
body: true,
2121
type: "text/javascript"
2222
},
@@ -26,7 +26,7 @@ export default {
2626
body: true,
2727
type: "text/javascript"
2828
},
29-
{ src:'/js/matomo.js' },
29+
{ src: '/js/matomo.js' },
3030
]
3131
},
3232

@@ -74,6 +74,7 @@ export default {
7474
'@nuxtjs/axios',
7575
'nuxt-i18n',
7676
'@nuxtjs/moment',
77+
'nuxt-healthcheck',
7778
],
7879

7980
// Axios module configuration: https://go.nuxtjs.dev/config-axios
@@ -111,7 +112,14 @@ export default {
111112
defaultLocale: 'en',
112113
locales: ['ar']
113114
},
114-
115+
116+
healthcheck: {
117+
path: '/ping',
118+
contentType: 'application/json',
119+
healthy: () => {
120+
return JSON.stringify({ result: 'pong' })
121+
}
122+
},
115123
publicRuntimeConfig: {
116124
APIBaseURL: process.env.API_BASE_URL,
117125
},

0 commit comments

Comments
 (0)