From 8f1e16602d6824fcffad044ee0d0082bdbed61ae Mon Sep 17 00:00:00 2001 From: Julian Gruber Date: Mon, 15 Jan 2024 14:04:30 +0100 Subject: [PATCH] fly: remove `services` section --- bin/spark-evaluate.js | 4 ---- fly.toml | 7 ------- 2 files changed, 11 deletions(-) diff --git a/bin/spark-evaluate.js b/bin/spark-evaluate.js index bd1e78f4..c8baa743 100644 --- a/bin/spark-evaluate.js +++ b/bin/spark-evaluate.js @@ -9,7 +9,6 @@ import { newDelegatedEthAddress } from '@glif/filecoin-address' import { recordTelemetry } from '../lib/telemetry.js' import fs from 'node:fs/promises' import { fetchMeasurements } from '../lib/preprocess.js' -import http from 'node:http' const { SENTRY_ENVIRONMENT = 'development', @@ -47,9 +46,6 @@ const ieContract = new ethers.Contract( ) const ieContractWithSigner = ieContract.connect(signer) -// FIXME fly.io -http.createServer((_, res) => res.end()).listen(8080) - startEvaluate({ ieContract, ieContractWithSigner, diff --git a/fly.toml b/fly.toml index 8d136614..8b20df4b 100644 --- a/fly.toml +++ b/fly.toml @@ -3,10 +3,3 @@ primary_region = "cdg" [env] SENTRY_ENVIRONMENT = "production" - -[[services]] - internal_port = 8080 - protocol = "tcp" - [[services.ports]] - handlers = ["http"] - port = 8080