Commit 51bb0b9c authored by eternal-flame-AD's avatar eternal-flame-AD

prepare for domain change

parent e71e1576
Pipeline #41400667 failed with stages
in 9 minutes and 17 seconds
......@@ -4,4 +4,4 @@
[![Netlify](https://www.netlify.com/img/global/badges/netlify-color-accent.svg)](https://www.netlify.com)
小透明的网站…… https://eternalflame.cn/
小透明的网站…… https://eternalflame.info/
baseURL = "https://eternalflame.cn/"
baseURL = "https://eternalflame.info/"
languageCode = "en-us"
title = "Eternal-flame-AD"
canonifyURLS = false
......
......@@ -10,27 +10,22 @@
[context.production]
environment = { BASE = "https://eternalflame.cn/" }
environment = { BASE = "https://eternalflame.info/" }
[context.dev]
command = "eval \"$(gimme)\" && curl -fsSL https://gist.githubusercontent.com/eternal-flame-AD/7877ac56ef650e6e10b1d1c435973880/raw/e6e168646358bd73732fced16a0d352e23119a19/netlify-hugo-extended.sh | bash && LD_LIBRARY_PATH=$(pwd)/tmp/usr/lib/x86_64-linux-gnu $(pwd)/tmp/usr/local/bin/hugo --baseURL $BASE -D -F && ./post.sh"
environment = { BASE = "https://dev.eternalflame.cn/" }
environment = { BASE = "https://dev.eternalflame.info/" }
[[redirects]]
from = "https://keen-khorana-ea9433.netlify.com/*"
to = "https://eternalflame.cn/:splat"
from = "https://elated-blackwell-f609fd.netlify.com/*"
to = "https://eternalflame.info/:splat"
status = 301
force = true
[[redirects]]
from = "https://blog.eternalflame.cn/*"
to = "https://eternalflame.cn/blog/"
status = 302
force = true
[[redirects]]
from = "https://www.eternalflame.cn/*"
to = "https://eternalflame.cn/:splat"
from = "http://eternalflame.info/*"
to = "https://eternalflame.info/:splat"
status = 301
force = true
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment