GithubHelp home page GithubHelp logo

Comments (8)

antoniocarrion avatar antoniocarrion commented on June 18, 2024 2

I managed to make it work both in 2.2 and 2.3. excluding js files of being minified, creating a custom module that depends on Cloudflare one

from cloudflare-magento.

antoniocarrion avatar antoniocarrion commented on June 18, 2024 2

You can't, is beling locally developet. But you just need to create two files:

/etc/module.xml
<?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:framework:Module/etc/module.xsd"> <module name="Vendor_Module" setup_version="1.0.0"> <sequence> <module name="CloudFlare_Plugin"/> </sequence> </module> </config>

etc/config.xml

<?xml version="1.0"?> <config xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="urn:magento:module:Magento_Store:etc/config.xsd"> <default> <dev> <js> <minify_exclude> <cloudflare_compiledjs>/CloudFlare_Plugin/</cloudflare_compiledjs> </minify_exclude> </js> </dev> </default> </config>

from cloudflare-magento.

hoeselr avatar hoeselr commented on June 18, 2024 1

@antoniocarrion - thank you, this .js minify workaround works fine

from cloudflare-magento.

antoniocarrion avatar antoniocarrion commented on June 18, 2024

I'm facing the same issue, Magento 2.2.7. Any fix?

from cloudflare-magento.

hoeselr avatar hoeselr commented on June 18, 2024

We are running into same 404 issue : Magento Version 2.3.1 / is there any Fix planned ?

Unbenannt

from cloudflare-magento.

hoeselr avatar hoeselr commented on June 18, 2024

@antoniocarrion - great / where can we find this module ?

from cloudflare-magento.

harshbharucha avatar harshbharucha commented on June 18, 2024

@antoniocarrion Can you elaborate where exactly to place these two files?
is it magento-document-root/etc/ ?

from cloudflare-magento.

antoniocarrion avatar antoniocarrion commented on June 18, 2024

@indiancazorla you have to place them into app/code/YourVendor/YourModule/etc. Don't forget to create app/code/YourVendor/YourModule/registration.php file, too

from cloudflare-magento.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.