endpoints.vue 393 B

1234567891011121314151617181920
  1. <template>
  2. <div>
  3. <h1 class="primary--text">Available Endpoints</h1>
  4. List of available endpoints is available here:<br>
  5. <a :href="endpointUrl" v-text="endpointUrl" target="_blank" />
  6. </div>
  7. </template>
  8. <script>
  9. let apiUrl = process.env.apiUrl;
  10. export default {
  11. data() {
  12. return {
  13. apiUrl: apiUrl,
  14. endpointUrl: apiUrl+'/swagger/index.html'
  15. }
  16. }
  17. }
  18. </script>