Skip to content

Commit

Permalink
Small view & doc fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
hschne committed Jan 3, 2024
1 parent d27efac commit 4ac0004
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@

## Usage

Visit https://datadeaddrop.com to upload data, or upload data via the command line, for example using Curl:
Visit https://datadeaddrop.com to upload files, or upload files via the command line. For example using cURL:

```bash
curl https://datadeaddrop.com/upload \
Expand Down
4 changes: 2 additions & 2 deletions app/views/application/home.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -118,9 +118,9 @@
Data Dead Drop is built with machines and automation in mind. No need
for browsers, just bring your favorite command line client. We
recommend
<%= render "components/link", name: "Curl", url: "https://curl.se/" %>
<%= render "components/link", name: "cURL", url: "https://curl.se/" %>
or
<%= render "components/link", name: "HTTpie", url: "https://httpie.io/" %>.
<%= render "components/link", name: "HTTPie", url: "https://httpie.io/" %>.
<% end %>
<% end %>

Expand Down
2 changes: 1 addition & 1 deletion app/views/layouts/application.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
<div class="mx-auto max-w-screen-xl mt-12 py-6 p-4">
<div class="text-center sm:flex sm:justify-between sm:text-left">
<p class="mt-4 text-sm sm:order-first sm:mt-0">
&copy; 2023
Made with ❤️ by
<%= render "components/link",
name: "Hans Schnedlitz",
url: "https://github.com/hschne" %></p>
Expand Down
4 changes: 2 additions & 2 deletions app/views/uploads/new.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
class="w-full rounded-md border-gray-200"
data-action="change->tabs#change"
>
<option select>cURl</option>
<option select>cURL</option>
<option>HTTPie</option>
</select>
</div>
Expand Down Expand Up @@ -73,7 +73,7 @@
<%= render "components/code" do %>
curl
<%= Rails.application.routes.default_url_options[:host] %>/upload.json \<br>
&nbsp;&nbsp;-F "upload[data][email protected]" -F "upload[expiry]=10" -F
&nbsp;&nbsp;-F "upload[file][email protected]" -F "upload[expiry]=10" -F
"upload[uses]=3"
<% end %>
</div>
Expand Down
2 changes: 1 addition & 1 deletion app/views/uploads/preview.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@
<%= render "components/code" do %>
curl -L
<%= Rails.application.routes.url_helpers.download_url(@upload) %>.json \<br>
&nbsp;&nbsp; -H "Accept: application/json" &gt; "<%= @upload.file.filename.to_s %>"<br>
"<%= @upload.file.filename.to_s %>"<br>
<% end %>
</div>

Expand Down

0 comments on commit 4ac0004

Please sign in to comment.