diff --git a/src/components/NewGameForm.js b/src/components/NewGameForm.js index 3e24f93f847f0a208f4cb7795a4249439ce1add1..9d539595682edda8da16464e1c6c8b1e10336e68 100644 --- a/src/components/NewGameForm.js +++ b/src/components/NewGameForm.js @@ -82,7 +82,7 @@ export class NewGameForm extends React.Component{ let token = sessionStorage.getItem('token'); // Send Game info to the server - fetch('http://172.20.2.143:5000/game/new', { + fetch('http://localhost:5000/game/new', { method: 'POST', headers: { Authorization: 'Bearer ' + token, @@ -167,16 +167,6 @@ export class NewGameForm extends React.Component{ required /> <br /> - <br /> - <input - className='' - placeholder='game password' - type='password' - name='password' - onChange={this.handleChange} - required - /> - <br /> <label>Map things</label> <br /> <Map className='' center={[this.state.mapCenter.lat, this.state.mapCenter.lng]} zoom={this.state.zoom} style={{height: '400px', width: '400px'} } onmoveend={this.handleMapDrag} onzoomend={this.handleMapScroll}>