File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -39,7 +39,8 @@ export default {
39
39
name: " twitter:image:src" ,
40
40
content: " https://webmention.app/webmention-app-card.jpg"
41
41
},
42
- { name: " twitter:card" , content: " summary_large_image" }
42
+ { name: " twitter:card" , content: " summary_large_image" },
43
+ { name: " sha" , content: process .env .NOW_GITHUB_COMMIT_SHA },
43
44
],
44
45
link: [
45
46
{
Original file line number Diff line number Diff line change 1
1
module . exports = {
2
- mode : 'universal ' ,
2
+ mode : 'spa ' ,
3
3
4
4
generate : {
5
5
minify : {
@@ -22,7 +22,7 @@ module.exports = {
22
22
css : [ ] ,
23
23
24
24
env : {
25
- API : process . env . API || ' http://localhost:3030/api ',
25
+ API : process . env . NODE_ENV === 'development' ? ' http://localhost:3030' : ' ',
26
26
} ,
27
27
28
28
modules : [ '@nuxtjs/markdownit' , 'cookie-universal-nuxt' ] ,
You can’t perform that action at this time.
0 commit comments