Skip to content
Snippets Groups Projects
Commit bc61c0c3 authored by Henrik Askjer's avatar Henrik Askjer
Browse files

Revert "test cachebuster"

This reverts commit 2b163d08.
parent 8430a4fc
No related branches found
No related tags found
No related merge requests found
...@@ -76,7 +76,7 @@ deploy-dev: ...@@ -76,7 +76,7 @@ deploy-dev:
"AltDomainName=dev.ordbok.uib.no" "AltDomainName=dev.ordbok.uib.no"
"DomainName=beta.ordbok-dev.aws.uib.no" "DomainName=beta.ordbok-dev.aws.uib.no"
"ZoneDomainName=ordbok-dev.aws.uib.no" "ZoneDomainName=ordbok-dev.aws.uib.no"
"PathRewriteLambdaARN=arn:aws:lambda:us-east-1:${AWS_DEV_ACCOUNT}:function:rewrite_request:5" "PathRewriteLambdaARN=arn:aws:lambda:us-east-1:${AWS_DEV_ACCOUNT}:function:rewrite_request:6"
"OrdbokCacheOriginDomain=8mwl23g34a.execute-api.eu-west-1.amazonaws.com" "OrdbokCacheOriginDomain=8mwl23g34a.execute-api.eu-west-1.amazonaws.com"
"OrdbokCacheStage=DEV" "OrdbokCacheStage=DEV"
--no-fail-on-empty-changeset --no-fail-on-empty-changeset
...@@ -107,7 +107,7 @@ deploy-prod: ...@@ -107,7 +107,7 @@ deploy-prod:
- aws cloudformation deploy --stack-name ${STACK_NAME} - aws cloudformation deploy --stack-name ${STACK_NAME}
--template-file "aws/beta.ordbok.uib.no_stack.yaml" --template-file "aws/beta.ordbok.uib.no_stack.yaml"
--parameter-overrides "CertificateArn=${CERT_ARN}" --parameter-overrides "CertificateArn=${CERT_ARN}"
"PathRewriteLambdaARN=arn:aws:lambda:us-east-1:${AWS_PROD_ACCOUNT}:function:path_rewrite:13" "PathRewriteLambdaARN=arn:aws:lambda:us-east-1:${AWS_PROD_ACCOUNT}:function:path_rewrite:14"
"OrdbokCacheOriginDomain=n5speug9cl.execute-api.eu-west-1.amazonaws.com" "OrdbokCacheOriginDomain=n5speug9cl.execute-api.eu-west-1.amazonaws.com"
"OrdbokCacheStage=PROD" "OrdbokCacheStage=PROD"
--no-fail-on-empty-changeset --no-fail-on-empty-changeset
......
...@@ -241,6 +241,7 @@ export default { ...@@ -241,6 +241,7 @@ export default {
monthly_bm: null, monthly_bm: null,
monthly_nn: null, monthly_nn: null,
event: null, event: null,
previous: this.$route.fullPath,
} }
}, },
computed: { computed: {
...@@ -309,7 +310,7 @@ export default { ...@@ -309,7 +310,7 @@ export default {
} }
}, },
details_click: function(item) { details_click: function(item) {
item.article.source = this.$route.path item.article.source = this.previous
this.article = item.article this.article = item.article
history.replaceState({article: this.article, search_results: [], lang: this.lang, error: null}, '') history.replaceState({article: this.article, search_results: [], lang: this.lang, error: null}, '')
}, },
...@@ -317,6 +318,11 @@ export default { ...@@ -317,6 +318,11 @@ export default {
this.article = null this.article = null
} }
}, },
watch: {
$route(to, from) {
this.previous = from.fullPath
}
},
mounted: function(){ mounted: function(){
let self = this let self = this
this.lang = 'bm,nn' this.lang = 'bm,nn'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment