mirror of
https://koodu.h-i.works/projects/thebadspace
synced 2025-05-06 14:41:02 -05:00
removed CSV listing if not CSV present
when reading sources, CSV file were being listed as 'none' when going through the loop and no file was present. commented that part out so 'none' is not being repeated
This commit is contained in:
parent
7cdd284968
commit
c2be80c005
@ -1,6 +1,6 @@
|
|||||||
@extends('frame')
|
@extends('frame')
|
||||||
@section('title', 'The Bad Space|About')
|
@section('title', 'The Bad Space|About')
|
||||||
@section('main-content')
|
@section('main-content')
|
||||||
@parent
|
@parent
|
||||||
<section>
|
<section>
|
||||||
<article>
|
<article>
|
||||||
@ -40,7 +40,9 @@
|
|||||||
@if($source->format == 'csv')
|
@if($source->format == 'csv')
|
||||||
<li><a href="{{$source->url}}">{{$source->url}}</a></li>
|
<li><a href="{{$source->url}}">{{$source->url}}</a></li>
|
||||||
@else
|
@else
|
||||||
|
<!--
|
||||||
<li>None</li>
|
<li>None</li>
|
||||||
|
-->
|
||||||
@endif
|
@endif
|
||||||
@endforeach
|
@endforeach
|
||||||
</ul>
|
</ul>
|
||||||
@ -58,7 +60,7 @@
|
|||||||
<h3>API</h3>
|
<h3>API</h3>
|
||||||
<p>The Bad Space has a public api that can be used to search the database programatically and return results in the JSON format. The API can be accsess at <code>https://thebad.space/api/v1/search</code> by posting a JSON object with the following format: <code>{"url":"search.url"}</code>. Data from API request will be returned in the follow format:</p>
|
<p>The Bad Space has a public api that can be used to search the database programatically and return results in the JSON format. The API can be accsess at <code>https://thebad.space/api/v1/search</code> by posting a JSON object with the following format: <code>{"url":"search.url"}</code>. Data from API request will be returned in the follow format:</p>
|
||||||
|
|
||||||
<pre>
|
<pre>
|
||||||
<code>{
|
<code>{
|
||||||
data:{
|
data:{
|
||||||
"listingCount":1,
|
"listingCount":1,
|
||||||
@ -76,4 +78,4 @@
|
|||||||
</pre>
|
</pre>
|
||||||
</article>
|
</article>
|
||||||
</section>
|
</section>
|
||||||
@endsection
|
@endsection
|
Loading…
x
Reference in New Issue
Block a user