Comments (4)
Why do you need to store the full domain?
Is this a duplicate issue of #1188?
from canvas.
I have made a RESTful endpoint for posts and I would like to consume it on an android app. Without the full URL, images won't show
from canvas.
Thanks for the feature request @Ochieng424.
I don't have plans for building this into the current major version of Canvas, but I can get this into v7.0.
Update
One issue that just came to mind is that if you start saving fully qualified URLs in the database, any client that's pulling from it will break if you alter either the CANVAS_PATH
or CANVAS_DOMAIN
environment variables.
from canvas.
I have made a RESTful endpoint for posts and I would like to consume it on an android app. Without the full URL, images won't show
I didn't quite catch the gist of the comment made here. If you've made a RESTful endpoint, why not just use Laravel's url()
helper when you're gathering the data you intend to return?
from canvas.
Related Issues (20)
- Change the canvas-ui page title HOT 2
- /canvas-ui is blank HOT 6
- Share Article to Social Media Facebook, Linkedin etc HOT 11
- how to deploy to vercel or netlify? HOT 1
- how to use spatie pkg https://github.com/spatie/laravel-export with canvas for static site HOT 2
- Is there an artisan command to regenerate an admin user? HOT 1
- Endless loop HOT 2
- How to remove /canvas-ui from url? HOT 1
- Embed Code content doesn't use <pre> tag
- Empty CANVAS_PATH breaks the image uploads HOT 1
- PostStats@getDefaultFavicon returns an error
- is it possible to add new page/module like posts and tags module? HOT 1
- Migration guide from themsaid's wink to canvas
- Ability to create Page HOT 2
- Addin a RSS Feed URL for Post Feed
- Adding a sitemap.xml URL for SEO
- GCP Cloud Storage Bucket with Laravel Spatie HOT 7
- Vendor folder gives 404 HOT 3
- Does not work if you have Vue3 installed HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from canvas.