Skip to content
This repository has been archived by the owner on Mar 9, 2023. It is now read-only.

Footer, CSS & JS not loading properly when pushing to IGEM 2020 #3

Open
FabioSchmidberger opened this issue Sep 24, 2020 · 0 comments

Comments

@FabioSchmidberger
Copy link

Hi,
first of all, thank for building this amazing tool. I'm trying to set it up for IGEM 2020 but I've ran into some issues:

While punishing files workers perfectly, it appears like the CSS, header footer and js file paths are generated not correctly. I'm getting the following errors:

Refused to apply style from 'https://2020.igem.org/Dist/css/vendor.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
Team:Stuttgart:1 Refused to apply style from 'https://2020.igem.org/Css/styles.css' because its MIME type ('text/html') is not a supported stylesheet MIME type, and strict MIME checking is enabled.
Team:Stuttgart:74 GET https://2020.igem.org/Js/wiki.js net::ERR_ABORTED 404 (Not Found)

When I run it locally with gulp serve, everything works fine. I'm using the secure = 's' and set the teaminfo to:

    const teaminfo = {
        year: 2020,
        teamName: 'Stuttgart'
    };

(here is the repo with the full code https://github.com/FabioSchmidberger/igem-stuttgart-2020-wiki in case it helps)

Other than that, I'm using the standard config (result of the auto gen).

Do you know of anyone using the generator for igem 2020 and managed to get the setup working?

I'm happy to contribute a fix. I'm just not sure where I should start debugging, and would appreciate it if you guys could point me in the right direction. Maybe I just made an error in the config...

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant