|
|
@@ -145,11 +145,6 @@ module.exports = function(crowi, app) {
|
|
|
var fileUrl = data.fileUrl;
|
|
|
var config = crowi.getConfig();
|
|
|
|
|
|
- // isLocalUrl??
|
|
|
- if (!fileUrl.match(/^https?/)) {
|
|
|
- fileUrl = (config.crowi['app:url'] || '') + fileUrl;
|
|
|
- }
|
|
|
-
|
|
|
var result = {
|
|
|
page: page.toObject(),
|
|
|
attachment: data.toObject(),
|