Commit 38dcd0fd authored by Artur Motyka's avatar Artur Motyka

Remove two useless endpoints

parent 3563caca
......@@ -12,8 +12,6 @@ require('./tasks/createRssTask');
app.use('/rss.xml', require('./routes/rssRoute'));
app.use('/api/steemPost', require('./routes/api/steem/steemPost.js'));
app.use('/api/comment', require('./routes/api/steem/comment.js'));
app.use('/api/guestComment', require('./routes/api/steem/guestComment.js'));
//TODO: search engine and no-js browsers static version of page.
......
var express = require('express');
var router = express.Router();
// var steem = require('steem');
// var fs = require('fs');
// var path = require('path');
//todo: whole router?
//todo: POST - post author, post permlink, comment author, comment permlink, comment body, steemconnect token
router.post('/', function (req, res) {
});
module.exports = router;
\ No newline at end of file
var express = require('express');
var router = express.Router();
// var steem = require('steem');
// var fs = require('fs');
// var path = require('path');
//todo: whole router?
//todo: POST - post author, post permlink, comment author, comment permlink, comment body, coinhive captcha token
router.post('/', function (req, res) {
});
module.exports = router;
\ No newline at end of file
......@@ -7,15 +7,5 @@
<p>Pobiera informacje o poscie <kbd>:permlink</kbd> autora <kbd>:author</kbd>. Z sieci steem gdy nie znajduje sie w cache.<br/>
Zwraca <kbd>HTTP 200</kbd> i jsona z informacja o poscie.<br/>
Zwraca <kbd>HTTP 404</kbd> gdy post nie istnieje.</p>
<br/><br/>
<kbd>POST /api/comment</kbd>
<p>Komentowanie postow TODO</p>
<br/><br/>
<kbd>POST /api/guestComment</kbd>
<p>Komentowanie postow jako gosc TODO</p>
</div>
</ng-controller>
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment