Giter VIP home page Giter VIP logo

Comments (7)

quantology avatar quantology commented on July 16, 2024

This might work by changing https://github.com/cristianoliveira/ergo/blob/master/proxy/config.go#L30
to

name := host[:len(host)-len(c.Domain)-1]

I'm going to go check that....
edit: go package management is too arcane for me...it never ends up running the modified version. I'll go ahead and wait and see if it works for you...

from ergo.

cristianoliveira avatar cristianoliveira commented on July 16, 2024

Hallo @metaperture! Thanks for the report. Exactly, that is definitely the logic that we should change that will enable us using subdomains like http://one.foo.dev and http://two.foo.dev.

I will take a look later. :)

from ergo.

cristianoliveira avatar cristianoliveira commented on July 16, 2024

Hey @metaperture just pushed the changes that enable use of local domains like: one.domain, two.domain and also one.two.domain. Let me know if it is what you need

from ergo.

quantology avatar quantology commented on July 16, 2024

Just tested it--it works perfectly thanks! This is definitely going to be a useful part of my dev toolchain :)

from ergo.

cristianoliveira avatar cristianoliveira commented on July 16, 2024

Thank you! This tool has been helping me too :)

v0.1.5 include this feature

from ergo.

maturanomx avatar maturanomx commented on July 16, 2024

🤔 ... This also requires to be a .dev domain, right?.

I have the same issue with shared cookies. There is a "page" that set the cookie for .domain.com; I don't have control over this. So I want run onto a local.domain.com in order catch be able to read the cookie. Is that possible?

from ergo.

cristianoliveira avatar cristianoliveira commented on July 16, 2024

Technally if you run ergo using a .com domain it was supposed to work as same as other domain. Only for http websites for now though :/

from ergo.

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.