Giter Club home page Giter Club logo

Comments (7)

snaildos avatar snaildos commented on August 19, 2024

I've tried intercepting via middleware, however that only works when a URL is written after the prefix, not just the prefix. I've also tried getting express to redirect without updating the URL, but that also caused issues with images not loading.
Hope you have some advice.

from node-unblocker.

nfriedly avatar nfriedly commented on August 19, 2024

Hey, unfortunately the URL structure is really baked in to the current design of unblocker. That's something I started to address in the v3 branch, but I haven't made much progress on that recently. (I've only been able to put significant amounts of work in when I have a consulting job that uses it, and I haven't had any of those recently.)

from node-unblocker.

snaildos avatar snaildos commented on August 19, 2024

Hey, unfortunately the URL structure is really baked in to the current design of unblocker. That's something I started to address in the v3 branch, but I haven't made much progress on that recently. (I've only been able to put significant amounts of work in when I have a consulting job that uses it, and I haven't had any of those recently.)

Hey, thanks for the reply. Appreciated. So there is no way I can set the default URL to be example.com without it showing up in the URL bar? or any other method you may know of?

from node-unblocker.

nfriedly avatar nfriedly commented on August 19, 2024

It will require fairly involved code changes to unblocker.

from node-unblocker.

snaildos avatar snaildos commented on August 19, 2024

It will require fairly involved code changes to unblocker.

I understand, but is there nothing you can recommend to me that I can do? Like using another proxy ontop of node-unblocker or something?

from node-unblocker.

nfriedly avatar nfriedly commented on August 19, 2024

Well, I'm not sure another proxy in front of unblocker would work, but you could try out another proxy entirely (https://github.com/nfriedly/node-unblocker/wiki/Alternative-Projects lists a few), or you could try and make the changes to unblocker. The work is started in the v3 branch, but it's not really in a functioning state there.

from node-unblocker.

snaildos avatar snaildos commented on August 19, 2024

Cheers for the reply mate. Got it all sorted, love your work a ton. Resolved by putting another middle-end in front of it.

from node-unblocker.

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.