Code Monkey home page Code Monkey logo

Comments (4)

jazeee avatar jazeee commented on June 15, 2024

@dr-dimitru This should help address the 404 issue:
3cd05c3

Let me know what you think.

from jazeee-meteor-spiderable.

dr-dimitru avatar dr-dimitru commented on June 15, 2024

@jazeee Okay, you did exactly what I've missing all this day. I'll add part of your code into main
What I currently did:

  • Create server route which returns real 404 error, for example: /not-found
  • On notFoundTemplate render if ___isRunningPhantomJS___ redirect to that real 404
  • Prepend real response code to output
  • In package phrase output to get real response code
  • Cache with response code
  • Return output with real response code

It will take around 1-2 days to test and done everything.
What do you think?

from jazeee-meteor-spiderable.

jazeee avatar jazeee commented on June 15, 2024

I made some minor corrections to clean up the server code.
In particular, I am now storing the responseCode, instead of error, in the cache.

from jazeee-meteor-spiderable.

dr-dimitru avatar dr-dimitru commented on June 15, 2024

I believe we've solved this issue at last release

from jazeee-meteor-spiderable.

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.