This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
upstream phoenix { | |
server 127.0.0.1:15750 max_fails=5 fail_timeout=60s; | |
} | |
server { | |
server_name sandbox.domain.club; | |
access_log /var/log/nginx/app_mydomain_com_access.log; | |
error_log /var/log/nginx/pp_mydomain_com_error.log; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Origin of the request: http://localhost:9098 | |
This happens when you are attempting a socket connection to | |
a different host than the one configured in your config/ | |
files. For example, in development the host is configured | |
to "localhost" but you may be trying to access it from | |
"127.0.0.1". To fix this issue, you may either: | |
1. update [url: [host: ...]] to your actual host in the | |
config file for your current environment (recommended) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import "phoenix_html" | |
// import socket from "./socket" | |
import "phoenix_html" | |
import {Socket, Presence} from "phoenix" | |
import qrcode from "qrcode-generator" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ERROR [2019-02-15 05:15:38] "POST /ghost/api/v2/admin/invites/" 500 399ms | |
NAME: EmailError | |
MESSAGE: Error sending email: Failed to send email. Reason: Authentication required, invalid details provided. Please check your email settings and resend the invitation. | |
level:normal | |
empty | |
"Please see https://docs.ghost.org/mail/ for instructions on configuring email." | |
ERROR DETAILS: |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
@spec create_merchant(map()) :: {:ok, Merchant.t()} | {:error, Ecto.Changeset.t()} | |
def create_merchant(attrs) do | |
temp_password = generate_password(8) | |
account_params = %{email: attrs.email, password: temp_password, status: 0, group: "merchant"} | |
Multi.new | |
|> Multi.insert(:account, Account.create_changeset(account_params)) | |
|> Multi.run(:merchant, fn repo, %{account: acc} -> | |
repo.insert(Merchant.create_changeset(Map.put(attrs, :account, acc))) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ERROR in ./src/Main.elm | |
Module build failed (from ./node_modules/elm-webpack-loader/index.js): | |
Error: Compiler process exited with error Compilation failed | |
[========================= ] - 1 / 2-- TYPE MISMATCH -------------------------------------------- src/Page/Login.elm | |
This function cannot handle the argument sent through the (|>) pipe: | |
225| SelectionSet.succeed SignIn | |
226| |> with SignIn.token | |
^^^^^^^^^^^^^^^^^ |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- GraphQL | |
type alias User = | |
{ username : Maybe String | |
, email : Maybe String | |
, id : Maybe EatYourDay.Scalar.Id | |
} | |
type alias SignIn = | |
{ user : Maybe User | |
, token : Maybe String |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ERROR in ./src/Main.elm | |
Module build failed (from ./node_modules/elm-webpack-loader/index.js): | |
Error: Compiler process exited with error Compilation failed | |
[========================= ] - 1 / 2-- TYPE MISMATCH -------------------------------------------- src/Page/Login.elm | |
This function cannot handle the argument sent through the (|>) pipe: | |
243| Mutation.selection LoginResp | |
244| |> with (Mutation.signIn { input = { password = form.password, signInParam = form.email }} credential) |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import EatYourDay.Mutation as Mutation | |
import EatYourDay.Object | |
import EatYourDay.Object.SignIn as SignIn | |
import EatYourDay.Object.User as EatYourDayUser | |
import EatYourDay.Scalar exposing(Id(..)) | |
-- GraphQL | |
type alias User = | |
{ username: Maybe String | |
, email: Maybe String |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<!DOCTYPE html> | |
<html xmlns="http://www.w3.org/1999/xhtml"> | |
<head> | |
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> | |
<meta name="viewport" content="width=display-width, initial-scale=1.0, maximum-scale=1.0," /> | |
<title>App</title> | |
<link href='https://fonts.googleapis.com/css?family=Open+Sans:400,300,300italic,400italic,600,700,600italic,700italic,800,800italic' rel='stylesheet' type='text/css' /> | |
<link href="https://fonts.googleapis.com/css?family=Signika:400,600,700" rel="stylesheet" /> | |