Skip to content
This repository has been archived by the owner on Oct 11, 2022. It is now read-only.

Commit

Permalink
Remove ZEIT from homepage, fix references to Vercel
Browse files Browse the repository at this point in the history
  • Loading branch information
brianlovin committed Aug 21, 2020
1 parent e1dd560 commit 4951eac
Show file tree
Hide file tree
Showing 7 changed files with 5 additions and 22 deletions.
Expand Up @@ -35,7 +35,6 @@ exports.up = function(r, conn) {
{
type: 'development-communities',
data: [
'zeit',
'realm',
'expo',
'compositor',
Expand Down
6 changes: 3 additions & 3 deletions docs/deployments.md
Expand Up @@ -2,11 +2,11 @@

# Deployments

We use [`now`](https://now.sh) by Zeit for all of our deployments.
We use [`now`](https://now.sh) by Vercel for all of our deployments.

### Installation

We recommend installing the [now desktop app](http://zeit.co/download) as it'll keep the command line tool up to date automatically!
We recommend installing the [now desktop app](http://vercel.co/download) as it'll keep the command line tool up to date automatically!

If you'd rather not install an app (or are using Windows Substem for Linux) you can also install now with npm:

Expand All @@ -20,7 +20,7 @@ All our workers are aliased to `<workername>.workers.spectrum.chat`, with the on

#### Path aliases

[Now's path alias feature](https://zeit.co/docs/features/path-aliases) takes care of routing requests to the right workers. To see our current production aliases check the `rules.json` file in the root of the project.
[Now's path alias feature](https://vercel.co/docs/features/path-aliases) takes care of routing requests to the right workers. To see our current production aliases check the `rules.json` file in the root of the project.

To deploy new rules, simply run the following command: (assuming `rules.json` has the changes)

Expand Down
2 changes: 1 addition & 1 deletion hyperion/renderer/index.js
Expand Up @@ -134,7 +134,7 @@ const renderer = (req: express$Request, res: express$Response) => {
const { helmet } = helmetContext;
debug('write header');
// Use now's CDN to cache the rendered pages in CloudFlare for half an hour
// Ref https://zeit.co/docs/features/cdn
// Ref https://vercel.co/docs/features/cdn
if (!req.user) {
res.setHeader(
'Cache-Control',
Expand Down
12 changes: 0 additions & 12 deletions public/img/logos/zeit.svg

This file was deleted.

2 changes: 1 addition & 1 deletion shared/middlewares/security.js
Expand Up @@ -121,7 +121,7 @@ function securityMiddleware(
// Set to true if you only want browsers to report errors, not block them.
reportOnly:
process.env.NODE_ENV === 'development' || process.env.FORCE_DEV || false,
// Necessary because of Zeit CDN usage
// Necessary because of Vercel CDN usage
browserSniff: false,
};

Expand Down
2 changes: 0 additions & 2 deletions src/views/pages/components/logos.js
Expand Up @@ -29,5 +29,3 @@ export const NodeLogo = () => <Logo src="/img/logos/nodejs.svg" alt="" />;
export const RealmLogo = () => <Logo src="/img/logos/realm.svg" alt="" />;

export const SketchLogo = () => <Logo src="/img/logos/sketch.svg" alt="" />;

export const ZeitLogo = () => <Logo src="/img/logos/zeit.svg" alt="" />;
2 changes: 0 additions & 2 deletions src/views/pages/view.js
Expand Up @@ -20,7 +20,6 @@ import {
ExpoLogo,
FigmaLogo,
InvisionLogo,
ZeitLogo,
SketchLogo,
RealmLogo,
NodeLogo,
Expand Down Expand Up @@ -263,7 +262,6 @@ export const Centralized = () => {
<FigmaLogo />
<BootstrapLogo />
<ExpoLogo />
<ZeitLogo />
<SketchLogo />
<AbstractLogo />
<RealmLogo />
Expand Down

0 comments on commit 4951eac

Please sign in to comment.