質問編集履歴

5

訂正

2017/11/20 13:34

投稿

sotonenakane
sotonenakane

スコア14

test CHANGED
File without changes
test CHANGED
@@ -268,11 +268,11 @@
268
268
 
269
269
  {
270
270
 
271
- "name": "Silentcave",
271
+ "name": "test",
272
272
 
273
273
  "version": "1.0.0",
274
274
 
275
- "description": "silentcave",
275
+ "description": "test",
276
276
 
277
277
  "main": "heloku.js",
278
278
 

4

訂正

2017/11/20 13:34

投稿

sotonenakane
sotonenakane

スコア14

test CHANGED
File without changes
test CHANGED
@@ -262,72 +262,44 @@
262
262
 
263
263
  ```
264
264
 
265
+
266
+
267
+ //packagejson
268
+
269
+ {
270
+
271
+ "name": "Silentcave",
272
+
273
+ "version": "1.0.0",
274
+
275
+ "description": "silentcave",
276
+
277
+ "main": "heloku.js",
278
+
279
+ "dependencies": {
280
+
281
+ "express": "*",
282
+
283
+ "ws": "*"
284
+
285
+ },
286
+
287
+ "scripts": {
288
+
289
+ "start": "node heloku.js"
290
+
291
+ },
292
+
293
+ "engines": {
294
+
295
+ "node": "6.11.4"
296
+
297
+ }
298
+
299
+
300
+
301
+ }
302
+
303
+
304
+
265
305
  ```
266
-
267
- //herokulog
268
-
269
- 2017-11-17T08:17:41.054727+00:00 heroku[web.1]: Restarting
270
-
271
- 2017-11-17T08:17:41.055454+00:00 heroku[web.1]: State changed from up to starting
272
-
273
- 2017-11-17T08:17:41.923883+00:00 heroku[web.1]: Stopping all processes with SIGTERM
274
-
275
- 2017-11-17T08:17:42.100518+00:00 heroku[web.1]: Process exited with status 143
276
-
277
- 2017-11-17T08:17:42.705047+00:00 heroku[web.1]: Starting process with command `node heloku`
278
-
279
- 2017-11-17T08:17:44.554209+00:00 app[web.1]: http server listening on 12766
280
-
281
- 2017-11-17T08:17:44.555776+00:00 app[web.1]: websocket server created
282
-
283
- 2017-11-17T08:17:45.011311+00:00 heroku[web.1]: State changed from starting to up
284
-
285
- 2017-11-17T08:19:43.036966+00:00 heroku[router]: at=info method=GET path="/:12766/ws" host=silentcaveserver.herokuapp.com request_id=c14f78bb-841b-4568-ac4d-37d72c1a3fe7 fwd="203.180.29.157" dyno=web.1 connect=0ms service=23ms status=404 bytes=392 protocol=http    //unity側から接続したときのlog
286
-
287
- 2017-11-17T08:20:02.426665+00:00 heroku[router]: at=info method=GET path="/:12766/ws" host=silentcaveserver.herokuapp.com request_id=7daf5634-c4ed-4d3e-b5c5-c98d9d3583fe fwd="203.180.29.157" dyno=web.1 connect=1ms service=7ms status=404 bytes=392 protocol=http
288
-
289
- 2017-11-17T08:20:24.749097+00:00 heroku[router]: at=info method=GET path="/" host=silentcaveserver.herokuapp.com request_id=a81a93e7-a530-48e9-aac7-f26d99f58c96 fwd="203.180.29.157" dyno=web.1 connect=0ms service=3ms status=404 bytes=383 protocol=https   //Open appをクリックした際のlog
290
-
291
- 2017-11-17T08:22:06.693476+00:00 heroku[router]: at=info method=GET path="/" host=silentcaveserver.herokuapp.com request_id=08f02a68-8c06-4270-8abe-2ee939261185 fwd="203.180.29.157" dyno=web.1 connect=1ms service=2ms status=404 bytes=383 protocol=https
292
-
293
- ```
294
-
295
- //packagejson
296
-
297
- {
298
-
299
- "name": "Silentcave",
300
-
301
- "version": "1.0.0",
302
-
303
- "description": "silentcave",
304
-
305
- "main": "heloku.js",
306
-
307
- "dependencies": {
308
-
309
- "express": "*",
310
-
311
- "ws": "*"
312
-
313
- },
314
-
315
- "scripts": {
316
-
317
- "start": "node heloku.js"
318
-
319
- },
320
-
321
- "engines": {
322
-
323
- "node": "6.11.4"
324
-
325
- }
326
-
327
-
328
-
329
- }
330
-
331
-
332
-
333
- ```

3

回答を絞る

2017/11/20 11:45

投稿

sotonenakane
sotonenakane

スコア14

test CHANGED
File without changes
test CHANGED
@@ -6,21 +6,11 @@
6
6
 
7
7
 
8
8
 
9
- またunityでアクセスする際に下記のURL(Open appをクリックした際のリンクと起動したときのポート番号)合っているのでしょうか
9
+
10
-
11
-
12
-
13
-
14
-
15
-
16
-
17
- ```
10
+
18
-
19
- //c#(unity)
11
+
20
-
21
- ws = new WebSocket("ws://silentcaveserver.herokuapp.com/:8000/ws");
12
+
22
-
23
- ```
13
+
24
14
 
25
15
  ```
26
16
 
@@ -300,7 +290,7 @@
300
290
 
301
291
  2017-11-17T08:22:06.693476+00:00 heroku[router]: at=info method=GET path="/" host=silentcaveserver.herokuapp.com request_id=08f02a68-8c06-4270-8abe-2ee939261185 fwd="203.180.29.157" dyno=web.1 connect=1ms service=2ms status=404 bytes=383 protocol=https
302
292
 
303
- ``````
293
+ ```
304
294
 
305
295
  //packagejson
306
296
 

2

誤字

2017/11/20 04:14

投稿

sotonenakane
sotonenakane

スコア14

test CHANGED
File without changes
test CHANGED
@@ -18,7 +18,7 @@
18
18
 
19
19
  //c#(unity)
20
20
 
21
- ws = new WebSocket("ws://test.herokuapp.com/:8000/ws");
21
+ ws = new WebSocket("ws://silentcaveserver.herokuapp.com/:8000/ws");
22
22
 
23
23
  ```
24
24
 
@@ -292,11 +292,11 @@
292
292
 
293
293
  2017-11-17T08:17:45.011311+00:00 heroku[web.1]: State changed from starting to up
294
294
 
295
- 2017-11-17T08:19:43.036966+00:00 heroku[router]: at=info method=GET path="/:12766/ws" host=silentcaveserver.herokuapp.com request_id=c14f78bb-841b-4568-ac4d-37d72c1a3fe7 fwd="203.180.29.157" dyno=web.1 connect=0ms service=23ms status=404 bytes=392 protocol=http//unity側から接続したときのlog
295
+ 2017-11-17T08:19:43.036966+00:00 heroku[router]: at=info method=GET path="/:12766/ws" host=silentcaveserver.herokuapp.com request_id=c14f78bb-841b-4568-ac4d-37d72c1a3fe7 fwd="203.180.29.157" dyno=web.1 connect=0ms service=23ms status=404 bytes=392 protocol=http    //unity側から接続したときのlog
296
296
 
297
297
  2017-11-17T08:20:02.426665+00:00 heroku[router]: at=info method=GET path="/:12766/ws" host=silentcaveserver.herokuapp.com request_id=7daf5634-c4ed-4d3e-b5c5-c98d9d3583fe fwd="203.180.29.157" dyno=web.1 connect=1ms service=7ms status=404 bytes=392 protocol=http
298
298
 
299
- 2017-11-17T08:20:24.749097+00:00 heroku[router]: at=info method=GET path="/" host=silentcaveserver.herokuapp.com request_id=a81a93e7-a530-48e9-aac7-f26d99f58c96 fwd="203.180.29.157" dyno=web.1 connect=0ms service=3ms status=404 bytes=383 protocol=https//Open appをクリックした際のlog
299
+ 2017-11-17T08:20:24.749097+00:00 heroku[router]: at=info method=GET path="/" host=silentcaveserver.herokuapp.com request_id=a81a93e7-a530-48e9-aac7-f26d99f58c96 fwd="203.180.29.157" dyno=web.1 connect=0ms service=3ms status=404 bytes=383 protocol=https   //Open appをクリックした際のlog
300
300
 
301
301
  2017-11-17T08:22:06.693476+00:00 heroku[router]: at=info method=GET path="/" host=silentcaveserver.herokuapp.com request_id=08f02a68-8c06-4270-8abe-2ee939261185 fwd="203.180.29.157" dyno=web.1 connect=1ms service=2ms status=404 bytes=383 protocol=https
302
302
 
@@ -306,11 +306,11 @@
306
306
 
307
307
  {
308
308
 
309
- "name": "tset",
309
+ "name": "Silentcave",
310
310
 
311
311
  "version": "1.0.0",
312
312
 
313
- "description": "test",
313
+ "description": "silentcave",
314
314
 
315
315
  "main": "heloku.js",
316
316
 
@@ -338,4 +338,6 @@
338
338
 
339
339
  }
340
340
 
341
+
342
+
341
- ```
343
+ ```

1

json追加

2017/11/17 08:42

投稿

sotonenakane
sotonenakane

スコア14

test CHANGED
File without changes
test CHANGED
@@ -16,7 +16,7 @@
16
16
 
17
17
  ```
18
18
 
19
- //c#
19
+ //c#(unity)
20
20
 
21
21
  ws = new WebSocket("ws://test.herokuapp.com/:8000/ws");
22
22
 
@@ -24,7 +24,7 @@
24
24
 
25
25
  ```
26
26
 
27
- //js(herokuにあげるやつ)
27
+ //heloku.js(herokuにあげるやつ)
28
28
 
29
29
  var WebSocketServer = require('ws').Server
30
30
 
@@ -300,4 +300,42 @@
300
300
 
301
301
  2017-11-17T08:22:06.693476+00:00 heroku[router]: at=info method=GET path="/" host=silentcaveserver.herokuapp.com request_id=08f02a68-8c06-4270-8abe-2ee939261185 fwd="203.180.29.157" dyno=web.1 connect=1ms service=2ms status=404 bytes=383 protocol=https
302
302
 
303
+ ``````
304
+
305
+ //packagejson
306
+
307
+ {
308
+
309
+ "name": "tset",
310
+
311
+ "version": "1.0.0",
312
+
313
+ "description": "test",
314
+
315
+ "main": "heloku.js",
316
+
317
+ "dependencies": {
318
+
319
+ "express": "*",
320
+
321
+ "ws": "*"
322
+
323
+ },
324
+
325
+ "scripts": {
326
+
327
+ "start": "node heloku.js"
328
+
329
+ },
330
+
331
+ "engines": {
332
+
333
+ "node": "6.11.4"
334
+
335
+ }
336
+
337
+
338
+
339
+ }
340
+
303
- ```
341
+ ```