diff options
author | anonymous | 2022-10-10 16:43:00 -0400 |
---|---|---|
committer | anonymous | 2022-10-10 16:43:00 -0400 |
commit | 271fcc870a12ffeedd05dab67be5bd30be1c425d (patch) | |
tree | eb3a03257856b30650c385757db128a8a9bbad63 | |
parent | ac9eddd1d55cb18d2b0d7f87d8f1a1ee1dd30e2f (diff) | |
parent | aefc3f8895e465efab59421c027622e50509d60a (diff) |
added auth
-rw-r--r-- | README.md | 6 | ||||
-rw-r--r-- | graffiti.js | 2 |
2 files changed, 4 insertions, 4 deletions
@@ -1,12 +1,12 @@ # Graffiti for Vanilla Javascript -This is the base Javascript library that interfaces with the [Graffiti server](https://github.com/digital-graffiti/server). -We recommend not using this vanilla library itself but instead using framework plugins that are built on top of it like the [Graffiti plugin for Vue.JS](https://github.com/digital-graffiti/graffiti-x-vue). +This is the base Javascript library that interfaces with the [Graffiti server](https://github.com/graffiti-garden/server). +We recommend not using this vanilla library itself but instead using framework plugins that are built on top of it like the [Graffiti plugin for Vue.JS](https://github.com/graffiti-garden/graffiti-x-vue). Example usage: ```javascript -import Graffiti from "https://digital-graffiti.github.io/graffiti-x-js/graffiti.js" +import Graffiti from "https://graffiti-garden.github.io/graffiti-x-js/graffiti.js" // You can initialize a connection to the graffiti server const graffiti = Graffiti() diff --git a/graffiti.js b/graffiti.js index 78bf028..5db4eff 100644 --- a/graffiti.js +++ b/graffiti.js @@ -2,7 +2,7 @@ import Auth from './auth.js' export default class { - constructor(graffitiURL="https://graffiti.csail.mit.edu") { + constructor(graffitiURL="https://graffiti.garden") { this.graffitiURL = graffitiURL this.open = false this.subscriptionData = {} |