Skip to content

Commit 454f1dc

Browse files
authored
Merge pull request #75 from netlify/devmode
Add devmode instructions
2 parents 62468fc + 222b421 commit 454f1dc

File tree

3 files changed

+9
-1
lines changed

3 files changed

+9
-1
lines changed

.npmignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
src
22
script
33
releases
4+
devmode.png

README.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,14 @@ When using the widget on localhost, it will prompt for your Netlify SiteURL the
115115
This allows the widget to know which instance of Netlify Identity it should communicate with with zero
116116
configuration.
117117

118+
E.g. If your netlify site is served from the `olddvdscreensaver.com` domain name, enter the following when prompted by the widget when in development mode:
119+
120+
```
121+
https://olddvdscreensaver.com
122+
```
123+
124+
![](devmode.png)
125+
118126
## FAQ
119127

120128
- If you experience a 404 while testing the Netlify Identity Widget on a local environment, you can
@@ -123,4 +131,3 @@ manually remove the netlifySiteURL from localStorage by doing the following in t
123131
```js
124132
localStorage.removeItem("netlifySiteURL")
125133
```
126-

devmode.png

79.8 KB
Loading

0 commit comments

Comments
 (0)