Skip to content
This repository has been archived by the owner on Nov 14, 2024. It is now read-only.

Goodnight, sweet prince #109

Merged
merged 2 commits into from
Oct 23, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
75 changes: 62 additions & 13 deletions netlify.toml
Original file line number Diff line number Diff line change
@@ -1,10 +1,6 @@
[build]
publish = "dist/"
command = "git clone --depth 1 https://github.com/MultiQC/MultiQC.git ../MultiQC && npm run build"

[build.environment]
NODE_VERSION = "20.11.0"

#
# Redirects
#
[[redirects]]
from = "/version.php"
to = "https://api.multiqc.info/version.php"
Expand All @@ -23,23 +19,76 @@
status = 301
force = true

[[headers]]
for = "/_astro/*"
[headers.values]
Cache-Control = "public, max-age=604800, immutable"
[[redirects]]
from = "https://multiqc.info/plugins/"
to = "https://docs.seqera.io/multiqc/development/plugins"
status = 301
force = true

[[redirects]]
from = "https://multiqc.info/community/"
to = "https://community.seqera.io/tag/multiqc"
status = 301
force = true

[[redirects]]
from = "https://multiqc.info/logos/"
to = "https://github.com/seqeralabs/logos"
status = 301
force = true

[[redirects]]
from = "https://multiqc.info/citation/"
to = "http://dx.doi.org/10.1093/bioinformatics/btw354"
status = 301
force = true

[[redirects]]
from = "https://multiqc.info/example-reports/*"
to = "https://seqera.io/multiqc#sample-reports"
status = 301
force = true

[[redirects]]
from = "https://multiqc.info/run/"
to = "https://seqera.io/multiqc#run"
status = 301
force = true

# Put last, more specific redirects above
[[redirects]]
from = "https://multiqc.info/*"
to = "https://seqera.io/multiqc/"
status = 301
force = true

[[redirects]]
from = "https://multiqc.netlify.app/*"
to = "https://multiqc.info/:splat"
to = "https://seqera.io/multiqc/"
status = 301
force = true

[[redirects]]
from = "https://multiqc.io/*"
to = "https://multiqc.info/:splat"
to = "https://seqera.io/multiqc/"
status = 301
force = true

#
# Other stuff
#
[build]
publish = "dist/"
command = "git clone --depth 1 https://github.com/MultiQC/MultiQC.git ../MultiQC && npm run build"

[build.environment]
NODE_VERSION = "20.11.0"

[[headers]]
for = "/_astro/*"
[headers.values]
Cache-Control = "public, max-age=604800, immutable"

[[plugins]]
package = "@algolia/netlify-plugin-crawler"
[plugins.inputs]
Expand Down
Loading