mirror of
https://github.com/status-im/hackathon-registration-dapp.git
synced 2025-01-12 22:04:09 +00:00
Moving api to its own folder
This commit is contained in:
parent
db78417298
commit
76bde03ece
@ -1,4 +1,4 @@
|
||||
export default {
|
||||
'ENSDappURL': 'http://www.status.im/',
|
||||
'APIServer': 'http://localhost:3000'
|
||||
'APIServer': 'http://localhost:3000/api'
|
||||
};
|
||||
|
@ -73,6 +73,7 @@ module.exports = {
|
||||
testnet: {
|
||||
networkType: "testnet",
|
||||
syncMode: "light",
|
||||
wsOrigins: "http://localhost:8000,embark",
|
||||
account: {
|
||||
password: "config/testnet/password"
|
||||
}
|
||||
|
@ -1,7 +1,7 @@
|
||||
module.exports = {
|
||||
// default applies to all environments
|
||||
default: {
|
||||
enabled: true,
|
||||
enabled: false,
|
||||
provider: "whisper", // Communication provider. Currently, Embark only supports whisper
|
||||
available_providers: ["whisper"], // Array of available providers
|
||||
},
|
||||
|
@ -1,7 +1,7 @@
|
||||
module.exports = {
|
||||
// default applies to all environments
|
||||
default: {
|
||||
enabled: true,
|
||||
enabled: false,
|
||||
ipfs_bin: "ipfs",
|
||||
provider: "ipfs",
|
||||
available_providers: ["ipfs"],
|
||||
|
@ -177,7 +177,7 @@ events.on('web3:connected', () => {
|
||||
|
||||
app.use(bodyParser.urlencoded({extended: false}));
|
||||
app.use(bodyParser.json());
|
||||
app.use('/', router);
|
||||
app.use('/api/', router);
|
||||
|
||||
app.listen(port, () => {
|
||||
console.log('Server listening on port ' + port);
|
||||
|
Loading…
x
Reference in New Issue
Block a user