Giter VIP home page Giter VIP logo

meteor-issue-3078's Introduction

meteor-issue-3078

Reproduction for meteor/meteor#3078.

Prerequisites

You must have a local copy of nginx installed.

Reproduction Steps

  1. git clone https://github.com/hwillson/meteor-issue-3078.git app1
  2. cd app1
  3. meteor npm i
  4. ROOT_URL=http://localhost/app1 meteor --port 3100

In a separate terminal window:

  1. git clone https://github.com/hwillson/meteor-issue-3078.git app2
  2. cd app2
  3. meteor npm i
  4. ROOT_URL=http://localhost/app2 meteor --port 3200

In a separate terminal window:

  1. sudo nginx -c /path/to/app/app1/nginx.conf

  2. Access http://localhost/app1; in your browser console, run:

Meteor._localStorage.setItem('key', 'Some Value!');
  1. Access http://localhost/app2; in your browser console, run:
Meteor._localStorage.removeItem('key');
  1. Go back to http://localhost/app1; in your browser console, run:
Meteor._localStorage.getItem('key');

The item will be removed even though we're using 2 separate applications.

meteor-issue-3078's People

Contributors

hwillson avatar

Watchers

James Cloos avatar

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.