Lee Robinson
|
279e105279
|
Update .now.sh to .vercel.app. (#22359)
|
2021-04-14 09:46:06 -05:00 |
|
Luis Alvarez D
|
e28fd50441
|
Include utm_source on example links to vercel.com (#21305)
|
2021-01-19 07:28:54 +00:00 |
|
Luc Leray
|
8eaabe2fb0
|
Fix deploy buttons URLs (#20834)
Fix all deploy button URLs in the Next.js repo to follow the following format:
```
https://vercel.com/new/git/external?repository-url=https://github.com/vercel/next.js/tree/canary/examples/<EXAMPLE_NAME>&project-name=<EXAMPLE_NAME>&repository-name=<EXAMPLE_NAME>
```
The detailed docs for the Deploy Button can be found here: https://vercel.com/docs/more/deploy-button.
Also updates legacy Vercel import flow URLs (starting with vercel.com/import or with vercel.com/new/project), to use the new vercel.com/new URLs.
---
For example, for the `hello-world` example:
The URL is https://vercel.com/new/git/external?repository-url=https://github.com/vercel/next.js/tree/canary/examples/hello-world&project-name=hello-world&repository-name=hello-world
And the deploy button looks like this:
[![Deploy with Vercel](https://vercel.com/button)](https://vercel.com/new/git/external?repository-url=https://github.com/vercel/next.js/tree/canary/examples/hello-world&project-name=hello-world&repository-name=hello-world)
---
For reference, I used the following regexes to search for the incorrect URLs
```
\(https://vercel.com/import/git\?s=https://github.com/vercel/next.js/tree/canary/examples/(.*)\)
\(https://vercel.com/import/git\?c=1&s=https://github.com/vercel/next.js/tree/canary/examples/([^&]*)(.*)\)
\(https://vercel.com/import/project\?template=https://github.com/vercel/next.js/tree/canary/examples/(.*)\)
https://vercel.com/import/git
https://vercel.com/import/select-scope
https://vercel.com/import
https://vercel.com/new/project
```
|
2021-01-07 01:40:29 +00:00 |
|
Luis Alvarez D
|
b540054388
|
Update authentication examples (#19330)
* Updated example readme
* Updated with-passport example
* Updated profile page for with-passport
* Updated with-passport-and-next-connect
* Updated with-magic
* Updated with-magic readme
* Updated with-iron-session
* Updated next version in with-iron-session
Co-authored-by: Lee Robinson <me@leerob.io>
|
2020-12-29 12:43:47 -05:00 |
|
Joe Haddad
|
b7e17e09e5
|
Update references to zeit/next.js (#13463)
|
2020-05-27 17:51:11 -04:00 |
|
JJ Kasper
|
1f6ce106ae
|
Update codeload and deploy links for org rename (#13141)
Co-authored-by: Joe Haddad <joe.haddad@zeit.co>
|
2020-05-27 14:11:39 -04:00 |
|
Tim Neutkens
|
483bd3ddda
|
Rename ZEIT to Vercel (#12075)
* Find/replace
* Update more URLs
* More rename
* Fix remaining examples
* More updates
* Update create-next-app
* Update remaining text
* Update
Co-authored-by: Shu Uesugi <shu@chibicode.com>
|
2020-04-21 11:47:12 +02:00 |
|
Hoang Vo
|
ee372f472f
|
feat(example): add CRUD example with next-connect and passport (#11359)
* Add with-next-connect example
* Update README
* Fix code and lint
* Fix typo
* Run prettier
* Include username
* Rename example
* Match with-passport styling
* Add comments in code
* Run prettier
* Rewrite example
* Add some comments
* Update README.md
* keys -> secret
* Updated package.json and readme
* UX changes
* Securely encrypt cookie with @hapi/iron
* Update README
* Abstract db related actions and update README
* security: add note on password hashing
* remove unused dep
* Updated readme
Co-authored-by: Luis Alvarez <luis@zeit.co>
|
2020-04-13 18:07:54 -05:00 |
|