Skip to content

Commit acc71e8

Browse files
committed
Rename routes to constants
1 parent 03c0ef6 commit acc71e8

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

src/browser.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import * as React from 'react';
22
import * as ReactDOM from 'react-dom';
33
import App from './components/app';
4-
import { propsUrl, containerId } from './routes';
4+
import { propsUrl, containerId } from './constants';
55

66
fetch(propsUrl)
77
.then(o => o.json())
File renamed without changes.

src/server.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { renderToString } from 'react-dom/server';
44
import * as fs from 'fs';
55
import AppComponent from './components/app';
66
import { getItems } from './db';
7-
import { faviconUrl, stylesUrl, reactUrl, reactDomUrl, bundleUrl, propsUrl, containerId } from './routes';
7+
import { faviconUrl, stylesUrl, reactUrl, reactDomUrl, bundleUrl, propsUrl, containerId } from './constants';
88

99
console.log('Server booting...');
1010
const isProd = process.env.NODE_ENV === 'production';

0 commit comments

Comments
 (0)