Skip to content

Client-site ip #3

Description

@kleffdortmund

Hi there,
the module needs to work not only locally, but on a given system. p2p over sockets on a single machine is not that interesting (and the auth-system of mean.io does not really help at this point).
Is there a way to set the hosts-IP address during installation of the package? I'm thinking about the post-installation process or the aggregation of the javascript files during building/starting the server-process. One would have to modify the 'baseUrl' in '/public/services/meanSocket.js'. Is it worth to think about that? Getting the IP-address should be possible on most systems (with one established fixed eth), but how to bring it automatically in the file before releasing it to the client with the 'aggregate.js'?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions